summaryrefslogtreecommitdiff
path: root/sh
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 /sh
parent5c736ad63e65949f7488474cc08cf3c8f2e7b0f9 (diff)
downloadopenrc-4ff71bd7416b84712ec702c92d79c106b4f11eb1.tar.gz
openrc-4ff71bd7416b84712ec702c92d79c106b4f11eb1.tar.bz2
openrc-4ff71bd7416b84712ec702c92d79c106b4f11eb1.tar.xz
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 'sh')
-rwxr-xr-xsh/tmpfiles.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in
index 64f93de..a341845 100755
--- a/sh/tmpfiles.sh.in
+++ b/sh/tmpfiles.sh.in
@@ -266,7 +266,7 @@ for FILE in $tmpfiles_d ; do
# whine about invalid entries
case $1 in
f|F|w|d|D|p|L|c|b|x|r|R|z|Z) ;;
- \#) continue ;;
+ \#) continue ;;
*) warninvalid ; continue ;;
esac