Ok, this is what I have done:
- opened a SSH connection
- mkdir /etc/rc0.d
- cd /etc/init.d
- echo "#! /bin/sh" > test
- echo >> test
- echo "echo 'OOOOOOOOOOK!!!!!!!' > /mnt/onboard/OOK.txt" >> test
- cd /etc/rc0.d
- ln -s /etc/init.d/test S10test
- sync
- exit
- unplugged kobo
- restarted kobo
Result: no OOOOOOK.txt even after another shutdown.... but my db is corrupted, since kobo doesn't find any book in my library even if the files are ok
It seems that the OS doesn't use rc#.d scripts. Any other ideas?