summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-07 00:19:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-07 00:19:59 +0000
commit87207782fdbfdc949008b5badc7c631ee1d58c21 (patch)
tree2f79a69ba1c59705f21301c0832b1eb48c33cec1 /etc/rc
parentcc298e8529a3708e6e51f63c709c97b4082da46f (diff)
downloadpfsense-87207782fdbfdc949008b5badc7c631ee1d58c21.zip
pfsense-87207782fdbfdc949008b5badc7c631ee1d58c21.tar.gz
Try to mount / and /cf manually. If we do a mount -w -a then it hangs ont he memory disk!?
Diffstat (limited to 'etc/rc')
-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