a guest Jan 22nd, 2015 177 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Comment the following line and uncomment the other lines
- # to force remove nouveau/kms driver for e.g. fglrx
- if [[ ! -e sys/kernel/debug/vgaswitcheroo/switch ]]; then
- # echo 0 >/sys/class/vtconsole/vtcon1/bind
- if ! rmmod nouveau; then
- echo "failed to remove fglrx module"
- [[ -x /etc/init.d/consolefont ]] &&
- /etc/init.d/consolefont restart
- # rmmod ttm
- # rmmod drm_kms_helper
- # rmmod dri
RAW Paste Data