Skip to content

Instantly share code, notes, and snippets.

@RaVbaker
Created October 12, 2011 15:40
Show Gist options
  • Save RaVbaker/1281554 to your computer and use it in GitHub Desktop.
Save RaVbaker/1281554 to your computer and use it in GitHub Desktop.
iOS5 software update notifier
#! /bin/csh
while (1)
curl -s -L http://phobos.apple.com/version | grep -i Restore | grep -i "\(iPhone\|iPad\|iPod\)" | grep -i "5\.0"
if ($? == 1) then
echo "Nothing yet..."`date`
else
say "iOS FIVE POINT OH FIRMWARE IS NOW AVAILABLE"
endif
sleep 13
end
@RaVbaker
Copy link
Author

This piece of code can check is the iOS5 update is available for you or not. :)

Download this file via "Download" button, extract file, add execution permission:

chmod +x iOS5_update_checker.command 

and run it:

open iOS5_update_checker.command 

Now you can minimize it and wait for voice annoucement of new and shiny iOS5 software update. :)

Enjoy!

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