SHARE
TWEET

Untitled

a guest Mar 8th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/sbin/sh
  2.  
  3.  
  4. DRV_FILE=/usr/lib32/cmplrs/driver
  5. DRV_OFILE=${DRV_FILE}.orig
  6.  
  7. echo "Create backup of original compiler driver file"
  8. echo Original: ${DRV_FILE}
  9. cp ${DRV_FILE} ${DRV_OFILE}
  10. echo Backup: ${DRV_OFILE}
  11.  
  12. echo "Patch driver executable"
  13. dd if=${DRV_OFILE} bs=1 count=230612 > ${DRV_FILE} 2>/dev/null
  14. dd if=${DRV_OFILE} bs=1 iseek=365340 count=4 >> ${DRV_FILE} 2>/dev/null
  15. dd if=${DRV_OFILE} bs=1 iseek=230616 >> ${DRV_FILE} 2>/dev/null
  16.  
  17. echo "Enjoy."
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top