Jump to content

Recommended Posts

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.

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.

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]

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


×