ports/main/nnd-s6-services/tmpl/sysfs

9 lines
151 B
Plaintext
Raw Normal View History

2022-12-08 08:09:51 +00:00
#!/bin/execlineb -W
importas -i SYSPATH SYSPATH
importas -i VAL VAL
s6-envdir -I /etc/s6/env/path
2023-02-01 08:50:08 +00:00
emptyenv -p
2022-12-08 08:09:51 +00:00
2023-02-01 08:50:08 +00:00
redirfd -w 1 /sys/${SYSPATH} echo $VAL