diff options
author | makefu <github@syntax-fehler.de> | 2013-06-10 21:21:25 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-06-10 21:21:25 +0200 |
commit | 8e7e5989f82f9722a52ac79511e3eee0964098dc (patch) | |
tree | 085c36ec428d99ac712536b51df16d31c203057c | |
parent | 9f2394c6254593eac25a568f5fddb9b672f2abc4 (diff) |
check_internet is less verbose now
-rw-r--r-- | usr/lib/autowifi/lib/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/network b/usr/lib/autowifi/lib/network index 32ecafc4..aabac89b 100644 --- a/usr/lib/autowifi/lib/network +++ b/usr/lib/autowifi/lib/network @@ -4,7 +4,7 @@ check_gateway(){ ping -c 1 -w 5 $(ip route | awk '/default/{print $3}') } check_internet(){ - secret=$(wget -O- http://krebsco.de/secret) + secret=$(wget -O- http://krebsco.de/secret 2>/dev/null) if [ "$secret" == "1337" ]; then return 0 else |