atHome 161 B

12345678910
  1. #!/bin/sh
  2. if [ "${ATHOME}" == "1" ] ; then
  3. exit 0
  4. elif which iwgetid ; then
  5. [ x$(iwgetid --scheme) == x404WiFiNOTFound ]
  6. exit $?
  7. else
  8. exit 1
  9. fi