diff options
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-x | initrd/initrd-stuff/init | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index e85c0d9e..bcb42c52 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -38,27 +38,8 @@ mkdir -p ${DEVDIR}/.udevdb echo 256 > /proc/sys/kernel/real-root-dev [ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys -# start device auto discovery (just the second case is tested yet) -if [ -d /etc/hotplug -a -d /etc/hotplug.d ] ; then - # older style udev/hotplug e.g. SuSE9.3 - echo "Enabling hotplug/udev" - #echo "/bin/hotplug" > /proc/sys/kernel/hotplug - udevstart - udevd -d -elif [ -x /bin/udev -a -x /bin/udevstart ] ; then - # new style udev e.g. SuSE10.0, Ubuntu5.10(?) - echo "Starting udev" - /bin/udevstart - if [ -x /bin/udevd ] ; then - export UDEVD_EXPECTED_SEQNUM=$(cat /sys/kernel/hotplug_seqnum) - export UDEVD_EVENT_TIMEOUT=1 - echo "" > /proc/sys/kernel/hotplug - udevd --daemon - fi -elif [ -s /dev.tgz ] ; then - echo "Using traditional static /dev entries" - tar -xpzf /dev.tgz -C / & -fi +# start device auto discovery service - distro specific function +udev_hotplug # read kernel commandline TMPFSSIZE="50%" export DEBUGLEVEL=0 |