@@ -1,3 +1,10 @@
#!/bin/sh
-[ $(iwgetid --scheme) == "404WiFiNOTFound" ]
+if [ "${ATHOME}" == "1" ] ; then
+ exit 0
+elif which iwgetid ; then
+ [ x$(iwgetid --scheme) == x404WiFiNOTFound ]
+ exit $?
+else
+ exit 1
+fi