Guest Alkapton Posted October 10, 2012 Report Posted October 10, 2012 Is there any way to execute a script file [toward the end of] at boot time? Where is best place to keep script - I notice if I put script at / it does not survive re-boot. Thanks for any help.
Guest droiddruid Posted October 10, 2012 Report Posted October 10, 2012 Init.d should do what you need. Go go search
Guest Alkapton Posted October 10, 2012 Report Posted October 10, 2012 b hell that was fast. And I kick myself - I know Linux enougth to know that.
Guest Alkapton Posted October 10, 2012 Report Posted October 10, 2012 Except I do not have init.d - I have a init.rc but do not understand it enougth to risk just adding what I want at the end. My idea is to set up zram automatically at boot time.
Guest tillaz Posted October 11, 2012 Report Posted October 11, 2012 you need to first create an init.d folder in system / etc / now you need to enable init.d support, you can easily do this by adding this line to the bottom of system / etc / init.qcom.post_boot.sh /system/etc/init.d/* [/CODE]
Guest Alkapton Posted October 11, 2012 Report Posted October 11, 2012 Tillaz is hero, I was trawling net and getting comfused by over complex solutions, this works like dream.
Guest Alkapton Posted October 11, 2012 Report Posted October 11, 2012 Tillaz is hero, I was trawling net and getting comfused by over complex solutions, this works like dream.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now