0

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 android.

The script is an infinite loop which is active every 5 secs. Is the Android init.d module able to use an infinite loop will it brick the device ?

https://github.com/AlexisTM/Odroid-XU3-Fan-Control-services

  • 2
    Couldn't you run that loop in a script file (using e.g. while TRUE), and start it as a "daemon" in the background (i.e. with an & appended on its call)? – Izzy Sep 5 '15 at 15:15
  • Sure I can ! It was just for information ! Thanks ! – Alexis Paques Sep 5 '15 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.