aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-30 01:51:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-30 01:51:33 +0000
commit2c3e3bf2a781ab188342ef287bb29d934a75b0a1 (patch)
tree74b306ba60306d8809a369d076b6a7bbfedee451
parent8c3836d768b541e101094f6f24b93bd18e6aa6fc (diff)
downloadpfsense-packages-2c3e3bf2a781ab188342ef287bb29d934a75b0a1.tar.gz
pfsense-packages-2c3e3bf2a781ab188342ef287bb29d934a75b0a1.tar.bz2
pfsense-packages-2c3e3bf2a781ab188342ef287bb29d934a75b0a1.zip
Remove alarm file if exists on launch
-rw-r--r--packages/proxy_monitor.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/proxy_monitor.sh b/packages/proxy_monitor.sh
index 519a720c..9d8ed657 100644
--- a/packages/proxy_monitor.sh
+++ b/packages/proxy_monitor.sh
@@ -11,6 +11,10 @@ set -e
LOOP_SLEEP=5
+if [ -f /var/run/squid_alarm ]; then
+ rm /var/run/squid_alarm
+fi
+
# Squid monitor 1.0
while [ /bin/true ]; do
if [ ! -f /var/run/squid_alarm ]; then