diff options
author | Bill Nottingham <notting@redhat.com> | 2001-06-21 17:06:53 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-06-21 17:06:53 +0000 |
commit | 537e254bc977f9b3c44e29f0b70ea72c9c983634 (patch) | |
tree | f2258c538eff8101525af95e43c517611ebd7dc1 /rc.d | |
parent | 2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf (diff) | |
download | initscripts-537e254bc977f9b3c44e29f0b70ea72c9c983634.tar initscripts-537e254bc977f9b3c44e29f0b70ea72c9c983634.tar.gz initscripts-537e254bc977f9b3c44e29f0b70ea72c9c983634.tar.bz2 initscripts-537e254bc977f9b3c44e29f0b70ea72c9c983634.tar.xz initscripts-537e254bc977f9b3c44e29f0b70ea72c9c983634.zip |
make that /initrd
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
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 |