The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
2k views

How to create start up scripts using the init.d folder?

In this answer to a question I asked a while ago, he said it's possible to have a script executed every boot. I created a file (without extension) that contains the following: #!/system/bin/sh ...
-1
votes
1answer
71 views

It seems my device doesn't have init.d support, but I have a bunch of init.* files. Can I use the same approach somehow?

-rwxr-x--- 1 root root 3265 Jan 1 1970 init.class_main.sh -rwxr-x--- 1 root root 1730 Jan 1 1970 init.mdm.sh -rwxr-x--- 1 root root 3347 Jan 1 ...
2
votes
0answers
160 views

ifup/ifdown scripts

I am fiddeling with some network related things and want to try them on Android too. In Ubuntu it was quite easy to run some commands if an interface (eth0 or wlan0) goes up or down by simply adding ...
1
vote
0answers
688 views

AutoMount ext2 SD-card on Huawei U8350 (Android 2.2.2)

On the Huawei U8350 (Android 2.2.2) the init scripts all appear to be in the root partition -- which actually is a ram disk (initramfs), so any changes to it aren't persistent across reboots. Is ...
0
votes
0answers
88 views

init.d doesn't execute sysctl.conf file on boot

I have made a few changes for my legacy device. I have added sysctl.conf file on system/etc setting with appropriate permission.Then I add an init.d script to run on boot. After reboot there is no ...
0
votes
0answers
79 views

Is it possible to start an infinite loop within init.d?

I would like to create an init.d script to control the fan of my Odroid XU3 under Lollipop 5.1.1, CyanogenMod 12.1. I already make one on linux which is working well and would like to port it to ...