Wednesday, March 26, 2014

There is no Android shell script similar bashrc / profile automatically run this


There are some things you want to add in, do not try to run from the boot init.rc, but every time you open a shell script that will run when. Two linux title like that mentioned using the same. I did not find in the android file system.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Well ... not quite good init.rc
Reply:
cited a floor guoyoulei520 reply:
init.rc no good thing ...

The only source level changes in boot.img (or is ramdisk.img) during and after the turn to recompile the source code, online change is invalid, changed once too much trouble. What do you think?

Besides, if there is no source in the Android phone to change how a change the law?
Reply:
reference to the second floor kangear reply:
Quote: references to a floor guoyoulei520 reply:

init.rc is not very good thing ...

The only source level changes in boot.img (or is ramdisk.img) during and after the turn to recompile the source code, online change is invalid, changed once too much trouble. What do you think?

Besides, if there is no source in the Android phone to change how a change the law?

Systems that do not certainly not want to boot, then no way to estimate, but there are boot android broadcast
Reply:
In fact, I did not emphasize how to boot, but I would not say like linux. Bashrc same effect each time into the shell. Seems Androd simplify a lot of features, are not allowed to do so.
Reply:
Thank you, it seems currently only used init.rc come.

No comments:

Post a Comment