diff options
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 |