summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-26 20:29:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-26 20:29:06 +0000
commit673d64a2a20eaa62e746f1e80732a2bb4899bbec (patch)
treec54db4d455bcc1036795a6ca3bf09923959c73e0 /etc/rc
parent535f6ecf4709e46f44274a73689620ebfd8ee7e3 (diff)
downloadpfsense-673d64a2a20eaa62e746f1e80732a2bb4899bbec.zip
pfsense-673d64a2a20eaa62e746f1e80732a2bb4899bbec.tar.gz
* Full path to mount and fsck
* Try mounting / fsck'ing twice if necessary
Diffstat (limited to 'etc/rc')
-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