aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/swap-fstab
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-01 12:07:40 +0100
committerPS <p@0x53.net>2026-02-01 12:07:40 +0100
commit49371f8654a82e3300caa898f4a211716681735f (patch)
treeb10db0004c18c1179272101e0d89e9778b58d3f4 /src/lib/source/system/other/swap-fstab
downloadgoetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.tar.gz
goetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.tar.bz2
goetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.zip
version 0.2.0.0
Diffstat (limited to 'src/lib/source/system/other/swap-fstab')
-rw-r--r--src/lib/source/system/other/swap-fstab/down7
-rw-r--r--src/lib/source/system/other/swap-fstab/type1
-rw-r--r--src/lib/source/system/other/swap-fstab/up7
3 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/source/system/other/swap-fstab/down b/src/lib/source/system/other/swap-fstab/down
new file mode 100644
index 0000000..a6b3be3
--- /dev/null
+++ b/src/lib/source/system/other/swap-fstab/down
@@ -0,0 +1,7 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+
+fdmove -c 2 1
+
+swapoff -aq
diff --git a/src/lib/source/system/other/swap-fstab/type b/src/lib/source/system/other/swap-fstab/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/src/lib/source/system/other/swap-fstab/type
@@ -0,0 +1 @@
+oneshot
diff --git a/src/lib/source/system/other/swap-fstab/up b/src/lib/source/system/other/swap-fstab/up
new file mode 100644
index 0000000..b10e29e
--- /dev/null
+++ b/src/lib/source/system/other/swap-fstab/up
@@ -0,0 +1,7 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+
+fdmove -c 2 1
+
+swapon -aq