Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. su -c "kill $(pgrep mdnsd)"
  2. ^ ^ ^ ^
  3. | | | |
  4. | | | +- Search the process list for the phrase "mdnsd" and return the process id
  5. | | |
  6. | | +- Spawn a subshell and execute contained command and return its output
  7. | |
  8. | +- Stop the process with the process id specified after kill
  9. +- run the command specified after -c with superuser privileges
  10.  
  11. # stop mdnsd on startup
  12. on property:sys.boot_completed=1
  13. stop mdnsd
  14.  
  15. # stop mdnsd when adbd starts/stops
  16. on property:init.svc.adbd=*
  17. stop mdnsd
  18.  
  19. ~# setprop ctl.stop mdnsd
  20.  
  21. ~# chmod a-x /system/bin/mdnsd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement