[PATCH v1 1/1] geoip: cleanup intermediate files and run quieter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Philip Prindeville <philipp@xxxxxxxxxxxxxxxxxxxxx>

Signed-off-by: Philip Prindeville <philipp@xxxxxxxxxxxxxxxxxxxxx>
---
 geoip/xt_geoip_dl | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/geoip/xt_geoip_dl b/geoip/xt_geoip_dl
index 50d3806ebe50a21fc102823868a91472d1dbde71..176832a0b9e88fb6f762fe33bdaa404dbfed5206 100755
--- a/geoip/xt_geoip_dl
+++ b/geoip/xt_geoip_dl
@@ -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
-- 
2.13.6

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux