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