From e133b2570494851f44778760ed7006a51afc10bb Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 7 Feb 2008 22:13:11 -0300 Subject: [PATCH] Adapted sysvinit's system.init to the modern usage of linux's hotplug, and removed abandoned devfs code --- base/sysvinit/system.init | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/base/sysvinit/system.init b/base/sysvinit/system.init index 7bd3b916b..25c1fdb54 100644 --- a/base/sysvinit/system.init +++ b/base/sysvinit/system.init @@ -33,17 +33,14 @@ dnl fi dnl [ -x /bin/dmesg ] && /bin/dmesg -n 3 - block_split(`Configuring the /dev filesystem ...') - check(`sh /etc/conf/devfs') dnl block_split(`Starting udevd ...') - echo "" > /proc/sys/kernel/hotplug + echo "" > /sys/kernel/uevent_helper check(`udevd --daemon') - block_split(`Running hotplug++ ...') - udevtrigger - check(`/sbin/hotplug++ -synth') + block_split(`Triggering coldplug ...') + check(`udevtrigger') + check(`udevsettle') - echo "/sbin/hotplug++" > /proc/sys/kernel/hotplug dnl if [ -s /etc/lvmtab -o -s /etc/lvm/.cache ]; then block_split(`Activating Volume Groups...')