summaryrefslogtreecommitdiff
path: root/swap
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2023-12-28 15:22:41 +0100
committerivan-boikov <ik.boikov.public@protonmail.com>2023-12-28 15:22:41 +0100
commit1ad99cc0276798031310b710a1b8193d9f64b699 (patch)
treea80574003ceefcda55876547dbcce35d1c8bde87 /swap
Initial commit
Diffstat (limited to 'swap')
-rw-r--r--swap/conf.d/swap14
1 files changed, 14 insertions, 0 deletions
diff --git a/swap/conf.d/swap b/swap/conf.d/swap
new file mode 100644
index 0000000..c423263
--- /dev/null
+++ b/swap/conf.d/swap
@@ -0,0 +1,14 @@
+# If you are only using local swap partitions, you should not change
+# this file. Otherwise, you need to uncomment the below rc_before line
+# followed by the appropriate rc_need line.
+#rc_before="!localmount"
+#
+# If you are using swap files stored on local file systems, uncomment
+# this line.
+# ivan: uncommented as otherwise swap would not mount during boot, also see /etc/rc.conf
+rc_need="localmount"
+#
+# If you are using swap files stored on network file systems or swap
+# partitions stored on network block devices such as iSCSI, uncomment
+# this line.
+#rc_need="netmount"