Browse Source

Adapted sysvinit's system.init to the modern usage of linux's hotplug, and removed abandoned devfs code

early
Alejandro Mery 17 years ago
parent
commit
e133b25704
  1. 11
      base/sysvinit/system.init

11
base/sysvinit/system.init

@ -33,17 +33,14 @@ dnl
fi fi
dnl dnl
[ -x /bin/dmesg ] && /bin/dmesg -n 3 [ -x /bin/dmesg ] && /bin/dmesg -n 3
block_split(`Configuring the /dev filesystem ...')
check(`sh /etc/conf/devfs')
dnl dnl
block_split(`Starting udevd ...') block_split(`Starting udevd ...')
echo "" > /proc/sys/kernel/hotplug echo "" > /sys/kernel/uevent_helper
check(`udevd --daemon') check(`udevd --daemon')
block_split(`Running hotplug++ ...') block_split(`Triggering coldplug ...')
udevtrigger check(`udevtrigger')
check(`/sbin/hotplug++ -synth') check(`udevsettle')
echo "/sbin/hotplug++" > /proc/sys/kernel/hotplug
dnl dnl
if [ -s /etc/lvmtab -o -s /etc/lvm/.cache ]; then if [ -s /etc/lvmtab -o -s /etc/lvm/.cache ]; then
block_split(`Activating Volume Groups...') block_split(`Activating Volume Groups...')

Loading…
Cancel
Save