geoip: cleanup intermediate files and run quieter
PATCH 1/1 geoip: cleanup intermediate files and run quieter
From: Philip Prindeville <[email protected]>
Signed-off-by Philip Prindeville <[email protected]>
--- geoip/xt_geoip_dl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
geoip/xt_geoip_dl +6 -5
@@ -1,8 +1,9 @@ #!/bin/sh -rm -f GeoIPv6.csv GeoIPv6.csv.gz GeoIPCountryCSV.zip GeoIPCountryWhois.csv; -wget \ +rm -f GeoIPv6.csv GeoIPv6.csv.gz GeoIPCountryCSV.zip GeoIPCountryWhois.csv +wget -q \ http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz \ - http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip; -gzip -d GeoIPv6.csv.gz; -unzip GeoIPCountryCSV.zip; + http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip +gzip -d GeoIPv6.csv.gz +unzip -q GeoIPCountryCSV.zip +rm -f GeoIPv6.csv.zip GeoIPCountryCSV.zip
Signature · 1 line
2.13.6