I am working on create a .deb install package for iOS, and I need the device to ask to reboot in Cydia after the package installs, how can I add such a function to my postinst script? The following is already in the script (it sets the file permissions to 755, I need the reboot to be afterwards)
#!/bin/sh
chmod 755 /usr/libexec/airtunesd
chmod 755 /System/Library/LaunchDaemons/com.apple.airtunesd.plist
exit 0
Thanks! :)