summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-28 06:24:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-28 06:24:07 +0000
commitf2025e919e0cb7819db59e684c337f653aa6cc02 (patch)
tree5884ca0b9ce73d20809e2cd158cbe64a60a3f33c /etc
parentd8a778565a27cd491ce7011781b9c9a5f819a0aa (diff)
downloadpfsense-f2025e919e0cb7819db59e684c337f653aa6cc02.zip
pfsense-f2025e919e0cb7819db59e684c337f653aa6cc02.tar.gz
Shift ping handling duties over to minicron. Cron is just not working for some reason.
Diffstat (limited to 'etc')
-rw-r--r--etc/crontab1
-rwxr-xr-xetc/rc3
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/crontab b/etc/crontab
index 8f19fcd..1309474 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -7,7 +7,6 @@ HOME=/var/log
1 * 1 * * root /usr/bin/nice -n20 /etc/rc.update_bogons.sh
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout
1 1 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update
-*/5 * * * * root /usr/bin/nice -n20 /etc/ping_hosts.sh
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -t 1800 snort2c
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -t 1800 snort2c
diff --git a/etc/rc b/etc/rc
index 44b4cb5..fead10f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -219,6 +219,9 @@ rm -f /tmp/filter_dirty
rm -f /tmp/rc.linkup
/usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null
+# Start ping handler for every 240 seconds
+minicron 240 /var/run/ping_hosts.pid /etc/ping_hosts.sh
+
echo "Bootup complete"
/usr/local/bin/beep.sh start 2>&1 >/dev/null
OpenPOWER on IntegriCloud