summaryrefslogtreecommitdiff
path: root/examples/source/init-sysctl
diff options
context:
space:
mode:
authorColin Booth <colin@heliocat.net>2017-09-12 10:56:07 -0700
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-13 16:13:17 +0000
commit184f2cd48a46abf0407a775cc7ea42d3483df613 (patch)
tree2939b43091c04544503b2cc9ca905afb78c30cb7 /examples/source/init-sysctl
parentbc0746bebb7adcb18ed8e32aebef10ca8f555479 (diff)
downloads6-rc-184f2cd48a46abf0407a775cc7ea42d3483df613.tar.xz
s6-rc examples: Change usage of import to importas.
execline's import is deprecated but the examples in s6-rc have not yet been updated to use importas.
Diffstat (limited to 'examples/source/init-sysctl')
-rw-r--r--examples/source/init-sysctl/up2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/source/init-sysctl/up b/examples/source/init-sysctl/up
index e3096b6..3159dcf 100644
--- a/examples/source/init-sysctl/up
+++ b/examples/source/init-sysctl/up
@@ -1,6 +1,6 @@
redirfd -r 0 /etc/sysctl.txt
forstdin -nCd"\n" -- LINE
-import -u LINE
+importas -u LINE LINE
multidefine -C $LINE { CTL VALUE }
redirfd -w 1 /proc/sys/$CTL
s6-echo -- $VALUE