Advertisement
pebriana

remove fuse

Dec 29th, 2011
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <<< snip below this line -- do not include this line. The "#!/bin/bash" part must be first line >>>>
  2.  
  3. #!/bin/bash
  4.  
  5. # Copy this script
  6.  
  7. cd /usr/local/bin
  8. rm sshfs
  9. sudo rm glib*
  10. sudo rm pkg-config
  11. sudo rm *gettext*
  12. sudo rm *mount*
  13.  
  14. cd /usr/local/include
  15. sudo rm -r fuse*
  16. sudo rm -r glib-2.0
  17. sudo rm gettext-po.h
  18.  
  19. cd /usr/local/lib
  20. sudo rm -r pkgconfig
  21. sudo rm -r glib*
  22. sudo rm -r libg*
  23. sudo rm -r *fuse*
  24. sudo rm -r *gettext*
  25.  
  26. cd /usr/local/share
  27. sudo rm -r glib*
  28. sudo rm -r gettext
  29.  
  30. # Note: revised the target dir.
  31. # previously was this dir which was incorrect:
  32. # cd /System/Library/Extensions
  33. # correct dir seems to be this one:
  34. cd /Library/Extensions
  35. sudo rm -r fusefs.kext
  36.  
  37. cd /System/Library/Filesystems
  38. sudo rm -r fusefs.fs
  39.  
  40. sudo touch /System/Library/Extensions
  41. # Note: Removed this line:
  42. # shutdown -r now
  43. # replaced it with a prompt at end of script telling user to restart:
  44. echo " "
  45. echo "PLEASE RESTART YOUR COMPUTER NOW..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement