Need help with init.d process!!!!!!!!

Search This thread

Namit1994

Senior Member
May 26, 2010
409
226
Corona, NY
Hello, I want an init.d script to write optimized minfree values everytime AFTER THE FIRST BOOT. On the first boot, I do not want it to write any value. Can anyone help me with making a script that will only write the value after the first boot?
 

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,078
Heidelberg
HTC Desire
Nexus 7
Why don't you want an execution on the first boot?

Otherwise you could put the script into /data/local/userinit.d ...

Ohh ... writing this I've got an idea: you could write / modify firstboot.sh in that way, that you copy your minfree-settings script to /data/local/userinit.d :)
-> first boot: copy
-> next boots: executing

Sent from my Gingerbread on Dream using XDA App