diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 16:22:47 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 16:22:47 +0200 |
commit | f4a0e350119794972bb1d022a6364fd10a0d80e9 (patch) | |
tree | f0b0c0ecdebfb956cd3c2fb75502dcbb348279c8 | |
parent | a9a347fc65966265a30774d02e1d114623185b92 (diff) | |
download | initscripts-f4a0e350119794972bb1d022a6364fd10a0d80e9.tar.xz |
We always mount /sys, thus remove a superfluous check for /sys/block. Also fixes #14437
-rwxr-xr-x | rc.single | 3 | ||||
-rwxr-xr-x | rc.sysinit | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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 @@ -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 |