Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.54 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. files=(
  4. "atrace.rc"
  5. "init-debug.rc"
  6. "mediadrmserver.rc"
  7. "installd.rc"
  8. "mediaextractor.rc"
  9. "superuser.rc"
  10. "bootstat.rc"
  11. "mtpd.rc"
  12. "uncrypt.rc"
  13. "debuggerd.rc"
  14. "logcatd.rc"
  15. "vdc.rc"
  16. "drmserver.rc"
  17. "logd.rc"
  18. "perfprofd.rc"
  19. "dumpstate.rc"
  20. "racoon.rc"
  21. "gatekeeperd.rc"
  22. "mediacodec.rc"
  23. "rild.rc"
  24. "vold.rc"
  25. )
  26.  
  27.  
  28. mkdir -p hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init
  29. for i in "${files[@]}"
  30. do
  31.   ln -s /system/etc/init/$i hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init/
  32. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement