diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-22 21:56:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-22 21:56:04 +0000 |
commit | 82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch) | |
tree | 776015ae6c6a386125b2d39e13b62f91b99548f8 /layout/rootfs/etc/s6-rc/source-base/init-sysctl | |
download | lh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.xz |
Initial commit
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-sysctl')
4 files changed, 9 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies new file mode 100644 index 0000000..4daddb7 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies @@ -0,0 +1 @@ +00 diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down @@ -0,0 +1 @@ + diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type @@ -0,0 +1 @@ +oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up new file mode 100644 index 0000000..9e846f8 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up @@ -0,0 +1,6 @@ +redirfd -r 0 /etc/sysctl.conf +forstdin -nCd"\n" -- LINE +importas -u LINE LINE +multidefine -C $LINE { CTL VALUE } +redirfd -w 1 /proc/sys/$CTL +s6-echo -- $VALUE |