From f4a0e350119794972bb1d022a6364fd10a0d80e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sun, 7 Jun 2009 16:22:47 +0200 Subject: We always mount /sys, thus remove a superfluous check for /sys/block. Also fixes #14437 --- rc.single | 3 +-- rc.sysinit | 3 +-- 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 -- cgit v1.2.3