summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-06-10 21:26:41 +0200
committermakefu <github@syntax-fehler.de>2013-06-10 21:26:41 +0200
commit06e5754372f036c3a4b5a3a549db36a8fed066ff (patch)
treec39bc9c3bc6bdea3034e1c6eeab33fa65f79cc53 /usr
parentaf16433b46f5c60fc5153141d8d5f336c076160c (diff)
merge curl and wget
Diffstat (limited to 'usr')
-rw-r--r--usr/lib/autowifi/lib/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/network b/usr/lib/autowifi/lib/network
index aabac89b..a9e30739 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 2>/dev/null)
+ secret=$(curl http://krebsco.de/secret 2>/dev/null)
if [ "$secret" == "1337" ]; then
return 0
else