summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-18 23:18:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-18 23:18:43 +0000
commit0fa30a3a10b343109ec2c57b057a1d51aa225746 (patch)
tree78a3507488cae0a11023fc9995ad2831b2057eef /etc/rc
parenta370334ed9419ca72cea4bad965ac18e1694b0e4 (diff)
downloadpfsense-0fa30a3a10b343109ec2c57b057a1d51aa225746.zip
pfsense-0fa30a3a10b343109ec2c57b057a1d51aa225746.tar.gz
MFC fsck commits
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index b88b148..ca1ba6d 100755
--- a/etc/rc
+++ b/etc/rc
@@ -46,7 +46,7 @@ fi
# Mount /. If it fails run a fsck.
if [ ! "$PLATFORM" = "cdrom" ] ; then
- /sbin/mount -uw / || (/sbin/fsck -y /; /sbin/mount -uw /)
+ /sbin/mount -uw / || (/sbin/fsck -y; /sbin/mount -uw /)
# If /conf is a directory, convert it to a symlink
# to /cf/conf
@@ -59,7 +59,7 @@ fi
# Check to see if a compact flash mountpoint exists
# If it fails to mount then run a fsck -y
if grep -q cf /etc/fstab; then
- /sbin/mount -uw /cf || (/sbin/fsck -y /cf; /sbin/mount -uw /cf)
+ /sbin/mount -uw /cf || (/sbin/fsck -y; /sbin/mount -uw /cf)
fi
if [ "$PLATFORM" = "cdrom" ] ; then
OpenPOWER on IntegriCloud