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 ebb74ee..4c99753 100755
--- a/etc/rc
+++ b/etc/rc
@@ -44,11 +44,14 @@ fi
# Mount all. If it fails run a fsck.
/sbin/mount -w / || /sbin/fsck -y
-/sbin/mount -a
+
if grep cf /etc/fstab; then
/sbin/mount -w /cf || /sbin/fsck -y
fi
+# Mount memory file system if it exists
+/sbin/mount -a
+
if [ "$PLATFORM" = "cdrom" ] ; then
echo "No swap on ${PLATFORM}"
elif [ "$PLATFORM" = "embedded" ] ; then
OpenPOWER on IntegriCloud