Advertisement
ak47suk1

remove annoying amd unsupported hardware logo

Jul 13th, 2011
1,799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.48 KB | None | 0 0
  1. # In a terminal type this:
  2.  
  3. nano fixwatermark.sh
  4.  
  5. # Paste the following into it:
  6.  
  7. # fixwatermark.sh
  8. # copy from here
  9.  
  10. #!/bin/sh
  11. DRIVER=/usr/lib/fglrx/xorg/modules/drivers/fglrx_drv.so
  12. for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
  13.  sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
  14. done
  15.  
  16. # to here
  17.  
  18. # exit and type
  19.  
  20. chmod +x fixwatermark.sh
  21.  
  22. # Then type
  23.  
  24. sudo sh fixwatermark.sh
  25.  
  26. # Log out and back in. Ta da!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement