diff options
author | Bill Nottingham <notting@redhat.com> | 2001-06-21 16:34:46 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-06-21 16:34:46 +0000 |
commit | 2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf (patch) | |
tree | 5a39c8d17e455edff8e5f1091a8456fca4637936 /rc.d | |
parent | 8c7aa30b676ee7a9c6de4449c9b5f2319cf71739 (diff) | |
download | initscripts-2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf.tar initscripts-2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf.tar.gz initscripts-2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf.tar.bz2 initscripts-2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf.tar.xz initscripts-2ca0aa4b6416ea60f78b5359eded3ebd7f7eecdf.zip |
use /boot/initrd, and flush the buffers when done
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 03651448..01799ce6 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -53,8 +53,9 @@ fi action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Unmount the initrd, if necessary -if grep -q /tmp/initrd /proc/mounts ; then - action $"Unmounting initrd: " umount /tmp/initrd +if grep -q /boot/initrd /proc/mounts ; then + action $"Unmounting initrd: " umount /boot/initrd + /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi # Configure kernel parameters |