#!/bin/bash ################## # Old cron script ################## if curl http://t0.vc/f/wifi-test.txt | grep -q 'Please wait while you are redirected'; then curl 'http://login.tulip.biz/portal/user-authen.php' --data 'txtLogin=tb215&txtPasswd=363499&btnLogin=Login&reqUrl=http%3A%2F%2Fgoo.gl%2Fe4wv&reqCheck=false' fi