about summary refs log tree commit diff
path: root/examples/source/mount-swap/up
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/mount-swap/up')
-rw-r--r--examples/source/mount-swap/up3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/source/mount-swap/up b/examples/source/mount-swap/up
new file mode 100644
index 0000000..af17571
--- /dev/null
+++ b/examples/source/mount-swap/up
@@ -0,0 +1,3 @@
+s6-envdir -i /run/disk-devices
+import -i swap
+s6-swapon /dev/${swap}