]> pd.if.org Git - startuptools/commitdiff
add initial mdev -s
authorNathan Wagner <nw@hydaspes.if.org>
Tue, 1 Apr 2014 20:35:15 +0000 (20:35 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Tue, 1 Apr 2014 20:35:15 +0000 (20:35 +0000)
scripts/rc.sysinit

index 0751a6ee1a51411f871c570abecc94b345280a8f..20575e4bdc21bd53f534308c6b4bde40084a4e04 100644 (file)
@@ -61,16 +61,19 @@ status_begin loading sysctl.conf
 sysctl -q -p
 status_check
 
 sysctl -q -p
 status_check
 
-# * set up /dev
+
+# set up /dev
 
 if [ -x /sbin/mdev ] && [ ! is_true "$USE_UDEVD" ]; then
 
 if [ -x /sbin/mdev ] && [ ! is_true "$USE_UDEVD" ]; then
+       status_starting setting up mdev
        echo /sbin/mdev > /proc/sys/kernel/hotplug
        echo /sbin/mdev > /proc/sys/kernel/hotplug
+       /sbin/mdev -s
+       status_check
 elif [ -x /sbin/udevd ]; then
        ##
        ## begin voodoo scripting from lfs-initscripts
        ##
 
 elif [ -x /sbin/udevd ]; then
        ##
        ## begin voodoo scripting from lfs-initscripts
        ##
 
-
        # udev will handle hotplugs
        echo > /proc/sys/kernel/hotplug
 
        # udev will handle hotplugs
        echo > /proc/sys/kernel/hotplug