diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 8f2a30ca..ba25911d 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -25,7 +25,7 @@ runcmd() { halt_get_remaining() { awk '$2 ~ /^\/$|^\/proc|^\/sys|^\/dev/{next} $3 == "tmpfs" || $3 == "proc" {print $2 ; next} - /(^#|loopfs|autofs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} + /(^#|loopfs|autofs|^none|^\/dev\/ram|^\/dev\/root)/ {next} {print $2}' /proc/mounts } diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 7d346c6c..29ee33cf 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -422,9 +422,6 @@ if [ -z "$fastboot" -a "$READONLY" != "yes" ]; then fi # Unmount the initrd, if necessary if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then - if [ -e /initrd/dev/.devfsd ]; then - umount /initrd/dev - fi umount /initrd /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi @@ -478,13 +475,12 @@ fi # Remove stale backups rm -f /etc/mtab~ /etc/mtab~~ -# Enter root, /proc and (potentially) /proc/bus/usb and devfs into mtab. +# Enter root, /proc and (potentially) /proc/bus/usb into mtab. mount -f / mount -f /proc mount -f /sys >/dev/null 2>&1 mount -f /dev/pts [ -f /proc/bus/usb/devices ] && mount -f -t usbfs usbfs /proc/bus/usb -[ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev # The root filesystem is now read-write, so we can now log # via syslog() directly.. |