diff options
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 2a3b9980..03eddb19 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -60,6 +60,9 @@ action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Unmount the initrd, if necessary if grep -q /initrd /proc/mounts && ! grep -q /initrd/loopfs /proc/mounts ; then + if [ -e /initrd/dev/.devfsd ]; then + umount /initrd/dev + fi action $"Unmounting initrd: " umount /initrd /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi |