# # vga/post-stop # if [[ -e /sys/kernel/debug/vgaswitcheroo/switch ]]; then case ${1} in (intel|radeon|nouveau) echo ON >/sys/kernel/debug/vgaswitcheroo/switch;; (*) ;; esac fi # # vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4: #