summaryrefslogtreecommitdiff
path: root/examples/source/init-sysctl/up
blob: e3096b6b109f5b954d89794d1adbbe3a0831527c (plain)
1
2
3
4
5
6
redirfd -r 0 /etc/sysctl.txt
forstdin -nCd"\n" -- LINE
import -u LINE
multidefine -C $LINE { CTL VALUE }
redirfd -w 1 /proc/sys/$CTL
s6-echo -- $VALUE