diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 408c148b..fd182ee4 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -53,7 +53,7 @@ fi action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Unmount the initrd, if necessary -if grep -q /initrd /proc/mounts ; then +if grep -q /initrd /proc/mounts && ! grep -q /initrd/loopfs /proc/mounts ; then action $"Unmounting initrd: " umount /initrd /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi |