Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iOS 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 "6\.0"
if ($? == 1) then
echo "Nothing yet..."`date`
else
say "iOS SIX POINT OH FIRMWARE IS NOW AVAILABLE"
endif
sleep 60
end
@lukaszklis

This comment has been minimized.

Copy link
Owner Author

@lukaszklis lukaszklis commented Sep 19, 2012

Updated @RaVbaker's script to check for the latest iOS 6. Also increased sleep from 13s to 1 minute.

@lukaszklis

This comment has been minimized.

Copy link
Owner Author

@lukaszklis lukaszklis commented Sep 19, 2012

How to use it:

Open terminal and paste: curl -0 https://raw.github.com/gist/3749778/deaa3ef1c924a0e0c66082ae36d219d47ee79698/iOS_update_checker.command -o iOS_update_checker.command && chmod +x iOS_update_checker.command && ./iOS_update_checker.command

Enjoy!

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