Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- personalities=("ATI\ Support" Controller AMDBaffinGraphicsAccelerator)
- kexts=(AMDSupport AMD9510Controller AMDRadeonX4100)
- for (( i=0; i < 3; i++ ))
- do
- personality="Add :IOKitPersonalities:"${personalities[$i]}":IOPCITunnelCompatible bool true"
- plist="/System/Library/Extensions/"${kexts[$i]}".kext/Contents/Info.plist"
- /usr/libexec/PlistBuddy -c "$personality" "$plist" 2>/dev/null
- done
- rm /Volumes/Macintosh\ HD/System/Library/PrelinkedKernels/prelinkedkernel 2>/dev/null
- rm /Volumes/Macintosh\ HD/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache 2>/dev/null
- touch /System/Library/Extensions
- kextcache -update-volume /Volumes/Macintosh\ HD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement