hi there,
I'm currently facing a problem with my iPhone I just can't solve myself ....
It's actually pretty simple: I wanted Insomnia to autostart when my iPhone boots, so I don't have to manually switch it on (which I forget most times

). So I read it up and found out that on Mac OSX "launchd" is responsible for autostarting programs.
So what I did:
I put a file called com.imalc.insomnia.plist in /System/Library/LaunchDaemons/. The content of the file is:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.imalc.insomnia</string>
<key>Program</key>
<string>/private/var/stash/Applications.xAdcpH/Insomnia.app/Insomnia</string>
<key>UserName</key>
<string>mobile</string>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
</dict>
</plist>
|
(I also tried some variations of the above)
and then I executed
launchctl load /System/Library/LaunchDaemons/com.imalc.insomnia.plist
which seems to have worked, because when I execute it again it says "already loaded".
Problem: It just doesn't work. Insomnia does not get executed at startup.
Any ideas why or how to do this?
thanks