aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-09-26 15:42:37 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2012-09-26 15:42:37 -0700
commit4ff71bd7416b84712ec702c92d79c106b4f11eb1 (patch)
treedb705394bae47d93ef1b37bad02cc36f001a1132 /conf.d
parent5c736ad63e65949f7488474cc08cf3c8f2e7b0f9 (diff)
tmpfiles.d init.d scripts
Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile2
-rw-r--r--conf.d/tmpfilesd3
2 files changed, 4 insertions, 1 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index 6ed295d5..0e610218 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -1,5 +1,5 @@
DIR= ${CONFDIR}
-CONF= bootmisc fsck hostname localmount urandom ${CONF-${OS}}
+CONF= bootmisc fsck hostname localmount urandom tmpfilesd ${CONF-${OS}}
ifeq (${MKNET},)
CONF+= network staticroute
diff --git a/conf.d/tmpfilesd b/conf.d/tmpfilesd
new file mode 100644
index 00000000..c3f208fe
--- /dev/null
+++ b/conf.d/tmpfilesd
@@ -0,0 +1,3 @@
+# Extra options for tmpfiles.sh
+#tmpfiles_opts="--verbose"
+tmpfiles_opts=""