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

@ -38,9 +38,9 @@ BOOT-FreeBSD+= hostid newsyslog savecore syslogd
# FreeBSD specific stuff
BOOT-FreeBSD+= adjkerntz dumpon syscons
BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding
BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding tmpfilesd.boot
SHUTDOWN-Linux= killprocs mount-ro
SYSINIT-Linux= devfs dmesg sysfs
SYSINIT-Linux= devfs dmesg sysfs tmpfilesd.sysinit
# Generic BSD stuff
BOOT-NetBSD+= hostid newsyslog savecore syslogd