+++ /dev/null
-description "Mount kernel virtual systems"
-author "IPFire Team"
-
-start on stopped welcome
-
-script
- if ! mountpoint /proc > /dev/null; then
- mount -n /proc || failed=1
- fi
-
- if ! mountpoint /sys > /dev/null; then
- mount -n /sys || failed=1
- fi
-
- exit ${failed}
-end script
description "Start Udev Daemon"
author "IPFire Team"
-start on stopped mount-kernel-filesystems
-stop on starting shutdown or starting reboot
+start on startup
+stop on shutdown or reboot
console output
-pre-start script
+# xxx should be a pre-start script but it only works as script -
+# I don't know why...
+
+script
# Mount a temporary file system over /dev, so that any devices
# made or removed during this boot don't affect the next one.
# The reason we don't write to mtab is because we don't ever
# want /dev to be unavailable (such as by `umount -a').
mount -n -t tmpfs tmpfs /dev -o mode=755
-
- # Udev handles uevents itself, so we don't need to have
- # the kernel call out to any binary in response to them
- echo > /proc/sys/kernel/hotplug
end script
expect fork