Unmount defunct boot ramdisk at bootup

This commit is contained in:
Thomas Veerman
2010-01-21 09:58:07 +00:00
parent ca9280e097
commit fadbbf7b2e
2 changed files with 4 additions and 1 deletions

3
etc/rc
View File

@@ -73,6 +73,9 @@ start)
# /etc/fstab lists the root, tmp and usr devices.
. /etc/fstab
# Unmount now defunct ramdisk
umount /dev/imgrd > /dev/null || echo "Failed to unmount boot ramdisk"
# Use MFS binary only from kernel image?
if [ "`sysenv bin_img`" = 1 ]
then