aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-09-03 14:04:03 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-09-05 13:39:51 -0500
commitd06db93d5954460668d09cf6ef2fc401ee9d981c (patch)
tree4c400e1dd14d763457507eb73b24d730ad1ccec8 /conf.d
parent8c14d0c476e06fff7598c526e26b6a13d53a4600 (diff)
remove swapfiles service
The swapfiles service was basically a copy of the swap service, so this commit consolidates the functionality into the swap service. X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523 X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile2
-rw-r--r--conf.d/swap13
2 files changed, 14 insertions, 1 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index a1cc7fb3..a18ca749 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -1,7 +1,7 @@
include ../mk/net.mk
DIR= ${CONFDIR}
-CONF= bootmisc fsck hostname localmount netmount urandom tmpfiles \
+CONF= bootmisc fsck hostname localmount netmount swap urandom tmpfiles \
${CONF-${OS}}
ifeq (${MKNET},yes)
diff --git a/conf.d/swap b/conf.d/swap
new file mode 100644
index 00000000..17bd0341
--- /dev/null
+++ b/conf.d/swap
@@ -0,0 +1,13 @@
+# 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.
+#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"