diff options
author | Bill Nottingham <notting@redhat.com> | 2001-06-20 20:35:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-06-20 20:35:31 +0000 |
commit | 4daca60e3712a0f1983f9909e1262b29f2c3ff83 (patch) | |
tree | 2be57f8800e90303bef3ee86edbef24ef8cdf2f0 /rc.d | |
parent | da6e8d687728d041364e89448d585bbb914d898f (diff) | |
download | initscripts-4daca60e3712a0f1983f9909e1262b29f2c3ff83.tar initscripts-4daca60e3712a0f1983f9909e1262b29f2c3ff83.tar.gz initscripts-4daca60e3712a0f1983f9909e1262b29f2c3ff83.tar.bz2 initscripts-4daca60e3712a0f1983f9909e1262b29f2c3ff83.tar.xz initscripts-4daca60e3712a0f1983f9909e1262b29f2c3ff83.zip |
unmount initrd, if needed
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index bcffb781..03651448 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -52,6 +52,11 @@ 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 +fi + # Configure kernel parameters action $"Configuring kernel parameters: " sysctl -e -p /etc/sysctl.conf |