mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-12 02:43:32 +02:00
Added ati closed source drivers.
This commit is contained in:
22
x11-drivers/ati-drivers/files/ati-powermode-opt-path.patch
Normal file
22
x11-drivers/ati-drivers/files/ati-powermode-opt-path.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
=== modified file 'common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh'
|
||||
--- common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2007-02-09 12:25:40 +0000
|
||||
+++ common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2007-02-09 12:28:54 +0000
|
||||
@@ -46,7 +46,7 @@
|
||||
getXuser;
|
||||
if [ x"$XAUTHORITY" != x"" ]; then
|
||||
export DISPLAY=":$displaynum"
|
||||
- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=1 --effective=now"
|
||||
+ su $user -c "/opt/bin/aticonfig --set-powerstate=1 --effective=now"
|
||||
fi
|
||||
done
|
||||
else
|
||||
@@ -56,7 +56,7 @@
|
||||
getXuser;
|
||||
if [ x"$XAUTHORITY" != x"" ]; then
|
||||
export DISPLAY=":$displaynum"
|
||||
- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=3 --effective=now"
|
||||
+ su $user -c "/opt/bin/aticonfig --set-powerstate=3 --effective=now"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user