I've just created a small package for Kindle Touch and Paperwhite.
(please note that it's untested on Touch, but it should work)
I don't know if anything like that already exists. I just created it for myself and now decided to learn how to package stuff with kindletool ;)
It's a very simple shell script used to run other shell scripts on particular events - boot, suspend or resume. Boot is self-explanatory, suspend is going to screen saver and resume is returning from screen saver.
After installing eventHandler you'll see a scripts directory created in your user partition. It contains three subdirectories - boot, suspend and resume. When event occurs, eventHandler runs all scripts in directory matching given event.
It's simple as that ;) This gives you possibility to run simple scripts without having to install usb networking and other advanced stuff. You'll just need a jailbreak.
Installing is easy: just put install file in root directory of user partition and select "Update your Kindle" from Settings screen. Uninstalling follows the same pattern.
Package contains also few scripts used by me which can be taken as examples:
NOTE: eventHandler runs all your scripts as root, so be careful with what you include in your scripts! Running "rm -rf /" isn't probably a good idea ;)
Enjoy!
PS. eventHandler should also work with Kindle 4 and maybe older Kindles, but AFAIK they don't use upstart so different start script would have to be written.
(please note that it's untested on Touch, but it should work)
I don't know if anything like that already exists. I just created it for myself and now decided to learn how to package stuff with kindletool ;)
It's a very simple shell script used to run other shell scripts on particular events - boot, suspend or resume. Boot is self-explanatory, suspend is going to screen saver and resume is returning from screen saver.
After installing eventHandler you'll see a scripts directory created in your user partition. It contains three subdirectories - boot, suspend and resume. When event occurs, eventHandler runs all scripts in directory matching given event.
It's simple as that ;) This gives you possibility to run simple scripts without having to install usb networking and other advanced stuff. You'll just need a jailbreak.
Installing is easy: just put install file in root directory of user partition and select "Update your Kindle" from Settings screen. Uninstalling follows the same pattern.
Package contains also few scripts used by me which can be taken as examples:
Spoiler:
NOTE: eventHandler runs all your scripts as root, so be careful with what you include in your scripts! Running "rm -rf /" isn't probably a good idea ;)
Enjoy!
PS. eventHandler should also work with Kindle 4 and maybe older Kindles, but AFAIK they don't use upstart so different start script would have to be written.