summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index a90580b..52a8003 100755
--- a/etc/rc
+++ b/etc/rc
@@ -43,7 +43,10 @@ fi
/sbin/conscontrol mute off >/dev/null
# Mount all. If it fails run a fsck.
-/sbin/mount -w -a || /sbin/fsck -y
+/sbin/mount -w / || /sbin/fsck -y
+if grep cf test.txt; then
+ /sbin/mount -w /cf || /sbin/fsck -y
+fi
if [ "$PLATFORM" = "cdrom" ] ; then
echo "No swap on ${PLATFORM}"
OpenPOWER on IntegriCloud