summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-04-08 13:34:14 -0400
committerjim-p <jimp@pfsense.org>2013-04-08 13:34:14 -0400
commitb6a63312b1f8d8dab5cd9cfb07dbefaa58018473 (patch)
tree6504f9492c91c158283f9441e4139ee216b48ef2 /etc
parentdfaa38c102a1f1080068d29c6e603b72dbe777fc (diff)
downloadpfsense-b6a63312b1f8d8dab5cd9cfb07dbefaa58018473.zip
pfsense-b6a63312b1f8d8dab5cd9cfb07dbefaa58018473.tar.gz
Don't try to make /var/run a RAM disk if /var is already a RAM disk.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 7598baf..70996d8 100755
--- a/etc/rc
+++ b/etc/rc
@@ -136,7 +136,7 @@ product=`/usr/bin/grep product_name /etc/inc/globals.inc | /usr/bin/cut -d'"' -f
hideplatform=`/usr/bin/grep hideplatform /etc/inc/globals.inc | /usr/bin/wc -l`
varrunpath=`/usr/bin/grep varrun_path /etc/inc/globals.inc | /usr/bin/cut -d'"' -f4`
-if [ "$PLATFORM" = "pfSense" ]; then
+if [ "$PLATFORM" = "pfSense" ] && [ ${USE_MFS_TMPVAR} -eq 0 ]; then
/sbin/mdmfs -S -M -s 4m md $varrunpath
fi
OpenPOWER on IntegriCloud