shark1001

something

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