Created
July 19, 2016 12:57
-
-
Save ricardofiorani/74150f2b735b3d10d18057ca2a3eb026 to your computer and use it in GitHub Desktop.
Checks if brazilian Pokemon Go server is online
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## Checa se o servidor brasileiro de Pokemon Go esta online | |
while true | |
do | |
if (curl -s 'http://www.mmoserverstatus.com/pokemon_go' | grep 'Brazil<span><i class="fa fa-check green') | |
then | |
spd-say 'pokemon no brazil' | |
else | |
echo 'Offline' | |
fi | |
sleep 30 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment