Created
July 21, 2013 00:52
-
-
Save paalfe/6047035 to your computer and use it in GitHub Desktop.
If you installed AMD Catalyst BETA Drivers and want to remove AMD Testing Use Only Watermark:
http://tuxperience.blogspot.no/2012/12/remove-amd-testing-use-only-watermark.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DRIVER=`find /usr/lib -name fglrx_drv.so` | |
echo "Come on AMD!" | |
for token in $DRIVER;do | |
echo "Removing AMD logo from "$token | |
for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do | |
sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER | |
done | |
done | |
echo "Reboot computer to finish" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment