X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=scripts%2Frc.sysinit;h=20575e4bdc21bd53f534308c6b4bde40084a4e04;hp=0751a6ee1a51411f871c570abecc94b345280a8f;hb=5b4b5f1657c757acda955214d5d1218c06119f44;hpb=ce14b9c2e09ed189803917f11eb2a902285f46f1 diff --git a/scripts/rc.sysinit b/scripts/rc.sysinit index 0751a6e..20575e4 100644 --- a/scripts/rc.sysinit +++ b/scripts/rc.sysinit @@ -61,16 +61,19 @@ status_begin loading sysctl.conf sysctl -q -p status_check -# * set up /dev + +# set up /dev if [ -x /sbin/mdev ] && [ ! is_true "$USE_UDEVD" ]; then + status_starting setting up mdev echo /sbin/mdev > /proc/sys/kernel/hotplug + /sbin/mdev -s + status_check elif [ -x /sbin/udevd ]; then ## ## begin voodoo scripting from lfs-initscripts ## - # udev will handle hotplugs echo > /proc/sys/kernel/hotplug