From The Compiler, 4 Years ago, written in Bash.
Embed
  1. #!/bin/bash
  2.  
  3. if [[ "$2" == up && $(iwgetid --raw) == PostAuto ]]; then
  4.     curl -s
  5.          --data-urlencode 'url=http://mobile.postauto.ch/app/mpag-lp-zuerich.htm?header=true&footer=true&backlink=false&keyvisual=true&lang=de'
  6.         "http://www.mpp.postauto.ch/welcome.php"
  7. fi