Notwithstanding what knc1 said, you you might just really really want a chroot for some reason, so it is still interesting to know how to automount it.
(Package managers are one good reason.)
The most important thing to keep in mind, is that the Kindle uses Ubuntu's Upstart init system, so in the best case scenario your initscript did absolutely nothing regardless.
(/etc/init.d/ is not used by anything and I am unsure why it exists, /etc/rc*.d/ is basically empty and I am not really sure what they do either, /etc/init/ is a symlink to /etc/upstart/)
The following upstart service is what I use to start something (in this case, Aeris' KindleMenu launcher) after the Kindle has booted and the UI is properly initialized and everything:
Code:
[root@kindle root]# cat /etc/upstart/aeris_menu.conf
# vim: set ft=upstart:
start on framework_ready and started kb and started pillow
stop on stopping framework
export LANG LC_ALL
pre-start script
/etc/upstart/aeris_menu &
end script