Automatically download and update GeoIP Databases.

This commit is contained in:
Stefan Schantl
2015-01-04 13:40:34 +01:00
parent 58c74d0787
commit 0909c0d150
2 changed files with 23 additions and 0 deletions

View File

@@ -57,3 +57,6 @@ HOME=/
# Re-read firewall rules every Sunday in March, October and November to take care of daylight saving time
00 3 * 3 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
00 2 * 10-11 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
# Update GeoIP database once a month.
3 2 1 * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/xt_geoip_update >/dev/null 2>&1