From: Nathan Wagner Date: Tue, 1 Apr 2014 20:35:15 +0000 (+0000) Subject: add initial mdev -s X-Git-Url: https://pd.if.org/git/?p=startuptools;a=commitdiff_plain;h=5b4b5f1657c757acda955214d5d1218c06119f44 add initial mdev -s --- 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