1 |
stephdl |
1.1 |
diff -Nur smeserver-geoip-1.1.2.Old/createlinks smeserver-geoip-1.1.2.New/createlinks |
2 |
|
|
--- smeserver-geoip-1.1.2.Old/createlinks 2015-09-22 23:32:26.387760406 +0200 |
3 |
|
|
+++ smeserver-geoip-1.1.2.New/createlinks 2015-09-22 23:32:51.856558032 +0200 |
4 |
|
|
@@ -10,7 +10,6 @@ |
5 |
|
|
for my $event (qw(email-update)) |
6 |
|
|
{ |
7 |
|
|
templates2events("/var/service/qpsmtpd/config/badcountries", $event); |
8 |
|
|
-event_link("smeserver-geopip-download-action", $event, "10"); |
9 |
|
|
} |
10 |
|
|
|
11 |
|
|
for my $event (qw(bootstrap-console-save)) |
12 |
|
|
diff -Nur smeserver-geoip-1.1.2.Old/root/etc/e-smith/events/actions/smeserver-geopip-download-action smeserver-geoip-1.1.2.New/root/etc/e-smith/events/actions/smeserver-geopip-download-action |
13 |
|
|
--- smeserver-geoip-1.1.2.Old/root/etc/e-smith/events/actions/smeserver-geopip-download-action 2015-09-22 23:32:26.385761127 +0200 |
14 |
|
|
+++ smeserver-geoip-1.1.2.New/root/etc/e-smith/events/actions/smeserver-geopip-download-action 1970-01-01 01:00:00.000000000 +0100 |
15 |
|
|
@@ -1,4 +0,0 @@ |
16 |
|
|
-#!/bin/bash |
17 |
|
|
-wget -O /var/lib/GeoIP/GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz 2>&1 1>/dev/null |
18 |
|
|
-gunzip -f /var/lib/GeoIP/GeoIP.dat.gz 2>&1 1>/dev/null |
19 |
|
|
- |