[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. [Q] can I apply micromax yu yureka cyanogenmod 12.1 for micromax canvas A 210 topic
  2. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Droid DNA (dlx) topic
  3. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the HTC One m8 topic
  4. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Verizon LG G3 (vs985) topic
  5. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Oppo N3 topic
  6. [ROM/UNOFFICIAL] CyanogenMod 12.1 topic
  7. [Q] init.d support on Cyanogenmod 12.1 topic
  8. [battery] init.d script for battery life on stock topic
  9. Is root required to roll back to KitKat? topic
  10. [REQ] Multi DPI Stock Camera topic
  11. May be this is it for Xperia J topic
  12. [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
  13. [Q] New to phone - on 24A rooted - where to go from here? topic
  14. Htc desire 816 official lollipop update video review topic
  15. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  16. How to roll back to KK topic
  17. What is this in Greenify settings topic
  18. [Q] How to update? topic
  19. [Q] Chinese Version LTE Support topic
  20. [Q] Do Lollipop TouchWiz variants support Camera to SD Card? topic

0 commentaires:

Enregistrer un commentaire