Skip to content

Commit

Permalink
+ ad-free beeline free wifi internet access kludge
Browse files Browse the repository at this point in the history
  • Loading branch information
l29ah committed Jan 6, 2013
1 parent 8310fe9 commit 64ccff6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions beeline.ru/Beeline_WiFi
@@ -0,0 +1,8 @@
#!/bin/sh
while :; do
curl -s --connect-timeout 4 -m 7 http://49.212.202.172/ip | grep -qi html && {
wget -o /dev/null -O /dev/null "http://cp.beelinewifi.ru$(
wget -o /dev/null -O- 'http://cp.beelinewifi.ru/v?lang=ru&url=aHR0cDovL3lhLnJ1&id=1' | sed -ne 's#.*'\''url'\'': '\''\([^'\'']*\)'\''#\1#p' | tail -n1)"
}
sleep 5
done

0 comments on commit 64ccff6

Please sign in to comment.