summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index bf8d1d7..1b705a3 100755
--- a/etc/rc
+++ b/etc/rc
@@ -43,7 +43,9 @@ fi
/sbin/conscontrol mute off >/dev/null
# Mount /. If it fails run a fsck.
-/sbin/mount -w / || /sbin/fsck -y
+if [ ! "$PLATFORM" = "cdrom" ] ; then
+ /sbin/mount -w / || /sbin/fsck -y
+fi
# Check to see if a compact flash mountpoint exists
# If it fails to mount then run a fsck -y
OpenPOWER on IntegriCloud