summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-18 03:08:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-18 03:08:02 +0000
commitb19c862238a922b64f919a80bfe11fa5941af858 (patch)
tree10c35b240562d4bb88fe7d60a6a28ec89e4cd8b6
parentdf4268126fe51fad4e4f3bc498da909f69935322 (diff)
downloadpfsense-b19c862238a922b64f919a80bfe11fa5941af858.zip
pfsense-b19c862238a922b64f919a80bfe11fa5941af858.tar.gz
Only resync filter on final pass if /tmp/filter_boot_dirty is touched.
-rwxr-xr-xetc/rc10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 9876d60..82a9ba4 100755
--- a/etc/rc
+++ b/etc/rc
@@ -100,10 +100,12 @@ for FILE in /usr/local/etc/rc.d/*.sh; do
fi
done
-# one more pass to give package plugins a chance to adjust
-echo -n "Final firewall setup in progress..."
-/etc/rc.filter_configure
-echo "Done."
+if -e [ /tmp/filter_boot_dirty ]; then
+ # one more pass to give package plugins a chance to adjust
+ echo -n "Final firewall setup in progress..."
+ /etc/rc.filter_configure
+ echo "Done."
+fi
/usr/local/bin/php -f /etc/rc.conf_mount_ro
OpenPOWER on IntegriCloud