summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
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