* Full path to mount and fsck

* Try mounting / fsck'ing twice if necessary
This commit is contained in:
Scott Ullrich 2005-06-26 20:29:06 +00:00
parent 535f6ecf47
commit 673d64a2a2

2
etc/rc
View File

@ -36,7 +36,7 @@ fi
/sbin/conscontrol mute off >/dev/null
# Mount all. If it fails run a fsck.
/sbin/mount -a || fsck -y && mount -a
/sbin/mount -a || /sbin/fsck -y && /sbin/mount -a || /sbin/fsck -y
if [ ! "$PLATFORM" = "cdrom" ]; then
SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1`