Alkapton

Boot scripts

7 posts in this topic

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.

0

Share this post


Link to post
Share on other sites

Init.d should do what you need. Go go search

0

Share this post


Link to post
Share on other sites

b hell that was fast. And I kick myself - I know Linux enougth to know that.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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]

0

Share this post


Link to post
Share on other sites

Tillaz is hero, I was trawling net and getting comfused by over complex solutions, this works like dream.

0

Share this post


Link to post
Share on other sites

Tillaz is hero, I was trawling net and getting comfused by over complex solutions, this works like dream.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.