summaryrefslogtreecommitdiff
path: root/examples/source/mount-swap
diff options
context:
space:
mode:
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}