From 8c3586b9689c6a6e805a209781dc5ffd97337801 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 26 Sep 2001 20:38:46 +0000 Subject: don't umount initrd on partitionless installs --- rc.d/rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/rc.sysinit') 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 -- cgit v1.2.1