From 4ff71bd7416b84712ec702c92d79c106b4f11eb1 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 26 Sep 2012 15:42:37 -0700 Subject: 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 --- runlevels/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runlevels/Makefile') diff --git a/runlevels/Makefile b/runlevels/Makefile index 0f134c89..e78e2d19 100644 --- a/runlevels/Makefile +++ b/runlevels/Makefile @@ -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 -- cgit v1.2.3