summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-19 16:53:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-19 16:53:17 +0000
commit44d213879d857b3a409624ab714d2e1a5002d251 (patch)
tree1ccff67ca8745fb28bc923752c4c7d7d7df33f36
parent2e2d1de731bc4682357dd82b02c4b00865800dd2 (diff)
downloadpfsense-44d213879d857b3a409624ab714d2e1a5002d251.zip
pfsense-44d213879d857b3a409624ab714d2e1a5002d251.tar.gz
Correctly check if file exists
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 7a8db2b..dd5a33e 100755
--- a/etc/rc
+++ b/etc/rc
@@ -108,7 +108,7 @@ for FILE in /usr/local/etc/rc.d/*.sh; do
echo "Done."
done
-if -e [ /tmp/filter_boot_dirty ]; then
+if [ -f /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
OpenPOWER on IntegriCloud