From 5b4b5f1657c757acda955214d5d1218c06119f44 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 1 Apr 2014 20:35:15 +0000 Subject: [PATCH] add initial mdev -s --- scripts/rc.sysinit | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.40.0