Your IP : 18.117.127.127


Current Path : /usr/local/mgr5/sbin/
Upload File :
Current File : //usr/local/mgr5/sbin/geoip_db

#!/bin/sh

if [ "$1" = "-T" ]; then
    echo -n "(c) ISPsystem.com"
    exit 0
fi

mkdir -p /usr/share/GeoIP
cd /usr/share/GeoIP
wget -N -O GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz && gunzip GeoIP.dat.gz
wget -N -O GeoIPv6.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz && gunzip GeoIPv6.dat.gz