Skip to content

Instantly share code, notes, and snippets.

@jamiecobbett
Created November 22, 2010 15:26
Show Gist options
  • Save jamiecobbett/710106 to your computer and use it in GitHub Desktop.
Save jamiecobbett/710106 to your computer and use it in GitHub Desktop.
Checks for iOS 4.2
#! /bin/csh
# Adapted from: http://www.tuaw.com/2010/06/21/ios-4-0-firmware-release-expected-momentarily-quick-terminal-ti/
curl -s -L http://phobos.apple.com/version | grep -i Restore | grep -i iPhone | grep -i "\_4\.2\_"
if ($? == 1) then
echo "Nothing yet..."
else
say "FOUR POINT TWO FIRMWARE IS NOW AVAILABLE"
endif
sleep 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment