How can i make an update package to reboot Kindle after updating?
I'm writing a package which contains an init script to be started when Kindle restarts.
I wrote an installer script, which put the init script into /etc/init.d/xxxxx and symlinks to /etc/rcS.d/S80xxxxx .
I expected that kindle reboots after updating but it seems that it doesn't. The kindle framework restarts but not reboot.
I tried to put /sbin/reboot to the end of the installer script, but an update failure screen was displayed after rebooting and I should R 4 button to resume the kindle.
How can i make it reboots after updating?
P.S. I also tried making /tmp/.shutdown file in the installer script, but it literally shuts down kindle.
|