summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-03-15 20:16:22 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-03-15 20:16:22 +0000
commitc1688281973fbb7734fcd554db1ec77146168cb4 (patch)
treeb7da989b5d42af95a07307695cf3f1e3261a2118 /etc/rc
parenta73f01f1c234ae09177fbbdd8de3718f5c8a3646 (diff)
downloadpfsense-c1688281973fbb7734fcd554db1ec77146168cb4.zip
pfsense-c1688281973fbb7734fcd554db1ec77146168cb4.tar.gz
Make php performance on all platforms consistent regardless of disk
speed
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index e9f8b93..3539dbe 100755
--- a/etc/rc
+++ b/etc/rc
@@ -38,6 +38,10 @@ if [ "$PLATFORM" = "embedded" ]; then
/etc/rc.embedded
fi
+if [ "$PLATFORM" = "pfSense" ]; then
+ mdmfs -S -M -s 2m md /var/run
+fi
+
# Enable Softupdates if enablesoftupdates is found in config.xml
SOFTUPDATES=`/usr/bin/grep "enablesoftupdates" /cf/conf/config.xml | wc -l`
if [ $SOFTUPDATES -gt 0 ]; then
OpenPOWER on IntegriCloud