Scripting events on a jailbroken iPod
August 29, 2010 6:45 AM   Subscribe

I have a jailbroken iPod with iOS 4. I would like to run a shell script when the device wakes from sleep, or when the wifi interface connects to a certain SSID. What can I use?
posted by harlan to Technology (2 answers total) 2 users marked this as a favorite
 
Cron is available. See http://www.hackint0sh.org/f126/31658.htm . I've seen LaunchServices mentioned as working also, but never read anything concrete. For both of these you'd need to ssh into the phone and tool around on the command line.

What kind of shell script is it you want to run? Sounds interesting.
posted by kjell at 11:41 AM on August 29, 2010


Response by poster: I often use a wireless hotspot that uses HTTP authentication, and re-prompts for authentication if the connection hasn't been used in an hour or more. I would use the event to trigger a wget to a known web server using the wireless network's login and password.

I have investigated using cron or launchd, but I'd like something smarter than 'run this script every X minutes'.
posted by harlan at 12:15 PM on August 29, 2010


« Older What is this unholy design scheme?   |   Oh crap...need more EINs! Newer »
This thread is closed to new comments.