diff options
author | Bill Nottingham <notting@redhat.com> | 2001-09-26 20:38:46 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-09-26 20:38:46 +0000 |
commit | 8c3586b9689c6a6e805a209781dc5ffd97337801 (patch) | |
tree | 1706a73dc7e019a97724c66b907d0e02fd4bee1a | |
parent | 9ec96fbd11123f5b7531e9cc0681ae5b7a0a1b38 (diff) | |
download | initscripts-8c3586b9689c6a6e805a209781dc5ffd97337801.tar initscripts-8c3586b9689c6a6e805a209781dc5ffd97337801.tar.gz initscripts-8c3586b9689c6a6e805a209781dc5ffd97337801.tar.bz2 initscripts-8c3586b9689c6a6e805a209781dc5ffd97337801.tar.xz initscripts-8c3586b9689c6a6e805a209781dc5ffd97337801.zip |
don't umount initrd on partitionless installs
-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 |