Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

GeoIP updater
#1

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

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply




Users browsing this thread: 1 Guest(s)