diff options
author | jim-p <jimp@pfsense.org> | 2013-04-08 13:34:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-04-08 13:34:14 -0400 |
commit | b6a63312b1f8d8dab5cd9cfb07dbefaa58018473 (patch) | |
tree | 6504f9492c91c158283f9441e4139ee216b48ef2 /etc | |
parent | dfaa38c102a1f1080068d29c6e603b72dbe777fc (diff) | |
download | pfsense-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-x | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |