From 1859a2e65441faafe4b8681a15963181ef1cdd9c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 25 May 2005 22:39:57 +0000 Subject: * Clear /tmp once a week * Mount and unmount the compact flash before updating the bogons list --- etc/crontab | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/crontab b/etc/crontab index 0715b9a..9885d96 100644 --- a/etc/crontab +++ b/etc/crontab @@ -10,4 +10,5 @@ HOME=/var/log 30 5 1 * * root periodic monthly 1,31 0-5 * * * root adjkerntz -a */5 * * * * root nice -n20 /etc/rc.prunecaptiveportal -*/3000 * * * * root /usr/bin/fetch -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" >/dev/null 2>&1 && /sbin/pfctl -t bogons -T replace -f /etc/bogons >/dev/null 2>&1 +*/3000 * * * * root /etc/rc.conf_mount_rw && /usr/bin/fetch -q -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" && /sbin/pfctl -t bogons -T replace -f /etc/bogons && /etc/rc.conf_mount_ro +15 8 * * 6 root rm -rf /tmp/* -- cgit v1.1