on property:dev.bootcomplete=1 start bootcomplete_handler service bootcomplete_handler /system/bin/sh /system/bin/bc_handler.sh class late_start user root group root disabled oneshot
/system/bin/bc_handler.sh
Comments
strangly recovered every time after boot
Re: strangly recovered every time after boot
/system/bin/bc_handler.sh
(your own shell script that you want to launch on boot) file as well?Here's a more comprehensive guide with lots of ideas:
http://android.stackexchange.com/questions/6558/how-can-i-run-a-script-on-boot
Eg. if you find that init.rc is reset during boot, you might have to modify your boot image too.