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

9 lines
153 B
Plaintext
Executable File

#!/bin/execlineb -W
importas -i SYSCTL SYSCTL
importas -i VAL VAL
s6-envdir -I /etc/s6/env/path
emptyenv -p
redirfd -w 1 /proc/sys/${SYSCTL} echo $VAL