summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 15c5de8..d591e08 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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`
OpenPOWER on IntegriCloud