[Q] init.d support on Cyanogenmod 12.1 topic

SOCIALIZE IT ⇨


Hi,

I'm trying to run a custom init.d script on my HTC One (m7) which is running on Cyanogemod 12.1 (The problem existed already in 12.0). The problem is that none of the scripts are executed at boot time.

Looking at the "init.cm.rc" script i found the following snippets that look like the "sysinit" command should be triggered at boot time.


Code:


[...]

on post-fs-data
    [...]

    # Run sysinit
    start sysinit

[...]

# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
    user root
    oneshot
    disabled



I even tried removing the "disabled" parameter but the "sysinit" command is still not executed at boot time.

If I run the "sysinit" command on a root shell the scripts are executed as the should.

Anybody an idea what I'm missing?

Thanks in advance!




xda-developers


  1. May be this is it for Xperia J topic
  2. [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
  3. [Q] New to phone - on 24A rooted - where to go from here? topic
  4. Htc desire 816 official lollipop update video review topic
  5. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  6. How to roll back to KK topic
  7. What is this in Greenify settings topic
  8. [Q] How to update? topic
  9. [Q] Chinese Version LTE Support topic
  10. [Q] Do Lollipop TouchWiz variants support Camera to SD Card? topic
  11. [q] otg support ? topic
  12. [Q] Any build having Dual-SIM support ? topic
  13. [Q] Any build having Dual-SIM support ? topic
  14. [Q] Any build having Dual-SIM support ? topic
  15. [Q] can anyone compile a kernel with otg support topic
  16. Loop device support topic
  17. Does the galaxy s6 edge support VoLTE? topic
  18. 64gb card support topic
  19. [Q&A] CyanogenMod 12.1 for Photon Q topic
  20. how to sim unlock LG ls980 running Cyanogenmod 12 nightly topic

0 commentaires:

Enregistrer un commentaire