From db7e83c95875fdc630a4014b323f9fbec205ba6c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Jul 2015 05:33:01 +0000 Subject: Added the example source. --- examples/source/init-sysctl/up | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/source/init-sysctl/up (limited to 'examples/source/init-sysctl/up') diff --git a/examples/source/init-sysctl/up b/examples/source/init-sysctl/up new file mode 100644 index 0000000..e3096b6 --- /dev/null +++ b/examples/source/init-sysctl/up @@ -0,0 +1,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 -- cgit v1.2.3