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>
This commit is contained in:
Robin H. Johnson
2012-09-26 15:42:37 -07:00
parent 5c736ad63e
commit 4ff71bd741
8 changed files with 48 additions and 4 deletions

View File

@@ -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