summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-07 03:31:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-07 03:31:12 +0000
commitfe1936d1160bc457d45d24c50569194aa44b564a (patch)
treef28f136f59cceb1ef4f9572d3e47a729fdaed579 /etc
parentfcd775ded5cd6028cdd71658b132a9a0bd3d4ba2 (diff)
downloadpfsense-fe1936d1160bc457d45d24c50569194aa44b564a.zip
pfsense-fe1936d1160bc457d45d24c50569194aa44b564a.tar.gz
Reverse order of mount -a so that we do not trigger a fsck -y each boot
Diffstat (limited to 'etc')
-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