달력

11

« 2024/11 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
2011. 10. 1. 07:28

Remove RT8187ClientUtility Hackintosh/Q&A2011. 10. 1. 07:28

#!/bin/sh
. /etc/rc.common

echo "                                                                  "
echo "Please type the password of \"root\" to Uninstall ..."
FROM=`dirname "$0"`

echo "Uninstalling Script and Utility ..."
sudo killall -c Realtek\ WLAN\ Client\ Utility
sudo rm -rf /Library/StartupItems/RT8187ClientUtility
echo "Uninstalling UI..."
sudo rm -rf /Applications/Realtek\ USB\ WLAN\ Client\ Utility.app

echo "Removing Driver..."
sudo rm -rf /System/Library/Extensions/RTL8187Bt.kext

echo "Removing Pkg"
sudo rm -rf /Library/Receipts/RTL8187B.pkg
sudo rm -rf /Library/Receipts/UI.pkg
sudo rm -rf /Library/Receipts/StartUpItem.pkg

echo "Remove profiles"
cd ~
pwd| rm -rf Library/Preferences/RtProfilesList.plist
pwd| rm -rf Library/Preferences/RtProfilesListV2.plist
pwd| rm -rf Library/Preferences/Realtek\ WLAN\ Client\ Utility.plist

echo "Uninstall Complete."
:
Posted by uno-ani