saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
15
hprofile/profiles/vga/post-stop
Normal file
15
hprofile/profiles/vga/post-stop
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# 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:
|
||||
#
|
||||
Reference in New Issue
Block a user