aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-head/squid_monitor.sh
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-29 11:07:41 +0000
committerErmal <eri@pfsense.org>2010-12-29 11:07:41 +0000
commitd4c84dfdbad19306d1ef2827fcb4fc436b908106 (patch)
tree4c10f7cbf4b6accbe2ec6585b10f20341dadccc1 /config/squid-head/squid_monitor.sh
parent76aab977b8cd6b7cf7b24a018cdd5107956f5109 (diff)
downloadpfsense-packages-d4c84dfdbad19306d1ef2827fcb4fc436b908106.tar.gz
pfsense-packages-d4c84dfdbad19306d1ef2827fcb4fc436b908106.tar.bz2
pfsense-packages-d4c84dfdbad19306d1ef2827fcb4fc436b908106.zip
Do not call filter_configure_sync directly since this is not best practice
Diffstat (limited to 'config/squid-head/squid_monitor.sh')
-rw-r--r--config/squid-head/squid_monitor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid-head/squid_monitor.sh b/config/squid-head/squid_monitor.sh
index d0035d1a..c821ae4c 100644
--- a/config/squid-head/squid_monitor.sh
+++ b/config/squid-head/squid_monitor.sh
@@ -47,7 +47,7 @@ while [ /bin/true ]; do
/usr/local/etc/rc.d/squid.sh start
sleep 3
echo "Reconfiguring filter..." | logger -p daemon.info -i -t Squid_Alarm
- /etc/rc.filter_configure_sync
+ /etc/rc.filter_configure
touch /var/run/squid_alarm
fi
fi
@@ -56,7 +56,7 @@ while [ /bin/true ]; do
if [ -f /var/run/squid_alarm ]; then
echo "Squid has resumed. Reconfiguring filter." | \
logger -p daemon.info -i -t Squid_Alarm
- /etc/rc.filter_configure_sync
+ /etc/rc.filter_configure
rm /var/run/squid_alarm
fi
fi