diff options
author | Judd Vinet <judd@archlinux.org> | 2006-03-27 18:13:56 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2006-03-27 18:13:56 +0000 |
commit | dfb74ab60c8bb84f3e02d89cfe8127e55aeb7984 (patch) | |
tree | 61d476d9beebf8f577bf9ee4e7936d47ab2b9ffb | |
parent | 7cc268dcf5d2e64a3f10b808e8b1b90a8f6fec4a (diff) |
fix for #4296
-rwxr-xr-x | rc.single | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ if [ "$PREVLEVEL" != "N" ]; then elif [ -x /etc/start_udev -a -d /sys/block ]; then # We have a start_udev script and /sys appears to be mounted, use UDev status "Starting UDev Daemon" /etc/start_udev + if [ "`pidof -o %PPID /sbin/udevd`" ]; then + # If an old udevd is kicking around, we'll have to remount pts and shm + umount /dev/shm /dev/pts >/dev/null 2>&1 + mount /dev/pts + mount /dev/shm + fi else # Static /dev, our last resort status "Using static /dev filesystem" /bin/true |