aboutsummaryrefslogtreecommitdiffstats
path: root/main/geoip/geoip.cron
diff options
context:
space:
mode:
Diffstat (limited to 'main/geoip/geoip.cron')
-rwxr-xr-xmain/geoip/geoip.cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/geoip/geoip.cron b/main/geoip/geoip.cron
new file mode 100755
index 0000000000..b7c2ffd4d0
--- /dev/null
+++ b/main/geoip/geoip.cron
@@ -0,0 +1,2 @@
+#!/bin/sh
+wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O /tmp/GeoIP.dat.gz && gunzip tmp/GeoIP.dat.gz && mv tmp/GeoIP.dat.gz /usr/share/GeoIP