summaryrefslogtreecommitdiff
path: root/examples/source/mount-swap
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/mount-swap
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/mount-swap')
-rw-r--r--examples/source/mount-swap/down2
-rw-r--r--examples/source/mount-swap/up2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/source/mount-swap/down b/examples/source/mount-swap/down
index e0211d6..19c2ed0 100644
--- a/examples/source/mount-swap/down
+++ b/examples/source/mount-swap/down
@@ -1,3 +1,3 @@
s6-envdir -i /run/disk-devices
-import -i swap
+importas -i swap swap
s6-swapoff /dev/${swap}
diff --git a/examples/source/mount-swap/up b/examples/source/mount-swap/up
index af17571..2017aee 100644
--- a/examples/source/mount-swap/up
+++ b/examples/source/mount-swap/up
@@ -1,3 +1,3 @@
s6-envdir -i /run/disk-devices
-import -i swap
+importas -i swap swap
s6-swapon /dev/${swap}