summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-12 21:49:08 +0000
committerMike Frysinger <vapier@gentoo.org>2009-08-12 21:49:08 +0000
commitafbbec9c9cecb2f8c7136c2891cc17d46cff4196 (patch)
tree4f3d5b0ed079f2e032dfe115d4987de4a0d1c8a1 /net-analyzer
parentPoint users to 10.0 instead of 2008.0. (diff)
downloadhistorical-afbbec9c9cecb2f8c7136c2891cc17d46cff4196.tar.gz
historical-afbbec9c9cecb2f8c7136c2891cc17d46cff4196.tar.bz2
historical-afbbec9c9cecb2f8c7136c2891cc17d46cff4196.zip
Run wget with -nv so it doesnt spam logs so much.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ntop/ChangeLog6
-rw-r--r--net-analyzer/ntop/files/ntop-update-geoip-db6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-analyzer/ntop/ChangeLog b/net-analyzer/ntop/ChangeLog
index 956fc4ae8d98..3213e6023c50 100644
--- a/net-analyzer/ntop/ChangeLog
+++ b/net-analyzer/ntop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/ntop
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.81 2009/06/18 00:16:36 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.82 2009/08/12 21:49:08 vapier Exp $
+
+ 12 Aug 2009; Mike Frysinger <vapier@gentoo.org>
+ files/ntop-update-geoip-db:
+ Run wget with -nv so it doesnt spam logs so much.
*ntop-3.3.10-r1 (18 Jun 2009)
diff --git a/net-analyzer/ntop/files/ntop-update-geoip-db b/net-analyzer/ntop/files/ntop-update-geoip-db
index 40d08189fe13..2bf3faaf68cb 100644
--- a/net-analyzer/ntop/files/ntop-update-geoip-db
+++ b/net-analyzer/ntop/files/ntop-update-geoip-db
@@ -9,11 +9,11 @@ cd /var/lib/ntop || exit
for u in asnum/GeoIPASNum.dat.gz GeoLiteCity.dat.gz ; do
FILE_GZ=${u#*/}
FILE=${FILE_GZ%.gz}
- wget -O ${FILE_GZ} ${BASE_URL}/${u} &&
+ wget -nv -O ${FILE_GZ} ${BASE_URL}/${u} &&
gunzip < ${FILE_GZ} > .${FILE} &&
- mv -f .${FILE} ${FILE} &&
+ mv -f .${FILE} ${FILE} &&
rm -f ${FILE_GZ} ||
- exit
+ exit
done
/etc/init.d/ntop --quiet status && /etc/init.d/ntop restart