Skip to content

Instantly share code, notes, and snippets.

@tjoen
Created May 31, 2018 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjoen/27951085c2393108036cf10b9e5b6e31 to your computer and use it in GitHub Desktop.
Save tjoen/27951085c2393108036cf10b9e5b6e31 to your computer and use it in GitHub Desktop.
german wifi
#!/bin/sh
# put this file in /etc/network/if-up.d/
if iwconfig wlp4s0 | grep -c "ESSID:\"WIFIonICE\""
then
curl -s "https://www.ombord.info/hotspot/hotspot.cgi?connect=&method=login&realm=db_advanced_wifi"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment