From 537e254bc977f9b3c44e29f0b70ea72c9c983634 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 21 Jun 2001 17:06:53 +0000 Subject: make that /initrd --- rc.d/rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 01799ce6..477f547d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -53,8 +53,8 @@ fi action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Unmount the initrd, if necessary -if grep -q /boot/initrd /proc/mounts ; then - action $"Unmounting initrd: " umount /boot/initrd +if grep -q /initrd /proc/mounts ; then + action $"Unmounting initrd: " umount /initrd /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi -- cgit v1.2.1