aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.single3
-rwxr-xr-xrc.sysinit3
2 files changed, 2 insertions, 4 deletions
diff --git a/rc.single b/rc.single
index cc3abc8..e0cfbe8 100755
--- a/rc.single
+++ b/rc.single
@@ -34,8 +34,7 @@ if [ "$PREVLEVEL" != "N" ]; then
/bin/sleep 1
stat_done
- if [ -x /sbin/udevadm -a -d /sys/block ]; then
- # We have udev and /sys appears to be mounted, use UDev
+ if [ -x /sbin/udevadm ]; then
stat_busy "Starting UDev Daemon"
/sbin/udevd --daemon
stat_done
diff --git a/rc.sysinit b/rc.sysinit
index a30994f..b42172f 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -60,8 +60,7 @@ fi
echo > /proc/sys/kernel/hotplug
-if [ -x /sbin/udevadm -a -d /sys/block ]; then
- # We have udev and /sys appears to be mounted, use UDev
+if [ -x /sbin/udevadm ]; then
stat_busy "Starting UDev Daemon"
/sbin/udevd --daemon
stat_done