Skip to content

Instantly share code, notes, and snippets.

@wizardishungry
Created September 8, 2010 19:07
Show Gist options
  • Save wizardishungry/570643 to your computer and use it in GitHub Desktop.
Save wizardishungry/570643 to your computer and use it in GitHub Desktop.
#! /bin/bash
while true; do
curl -s -L http://phobos.apple.com/version | grep -i Restore | grep -i "iPhone3,1" | grep -i 4.1
if [ "$?" = "1" ]; then
echo "No firmware yet"
else
growlnotify -s -m "iOS 4.1 is now available!"
fi
sleep 120
done
@wizardishungry
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment