19.4.2008 12:54
A simple script meant to be launched via crontab once a month to keep your offline GeoIP database up-to-date.
Code:
#! /bin/bash
cd /usr/share/GeoIP
wget "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz" -O GeoIP.dat.gz
7z e -y GeoIP.dat.gz
rm GeoIP.dat.gz
Coffee phreak!