saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#
# vga/scripts/intel.start
#
modprobe i915 || die "Failed to insert i915 kernel module"
if [[ -e /sys/kernel/debug/vgaswitcheroo/switch ]]; then
echo IGD >/sys/kernel/debug/vgaswitcheroo/switch &&
echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
fi
[[ $(eselect opengl show) != 'xorg-x11' ]] && eselect opengl set 'xorg-x11'
[[ $(eselect xvmc show) != 'intel-i915/i965' ]] && eselect xvmc set 'intel-i915/i965'
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#