Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91817 Details for
Bug 139436
x11-drivers/ati-drivers-8.26.18-r1 acpi ati-powermode.sh script has wrong aticonfig location
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
replace finger with who, and point to correct aticonfig location
ati-powermode-gentoo.patch (text/plain), 1.13 KB, created by
Ryan Neufeld
on 2006-07-15 13:15:15 UTC
(
hide
)
Description:
replace finger with who, and point to correct aticonfig location
Filename:
MIME Type:
Creator:
Ryan Neufeld
Created:
2006-07-15 13:15:15 UTC
Size:
1.13 KB
patch
obsolete
>--- ati-powermode.sh 2006-07-15 13:11:57.000000000 -0700 >+++ ati-powermode-original.sh 2006-07-15 13:09:34.000000000 -0700 >@@ -5,9 +5,9 @@ > # > > getXuser() { >- user=`who| grep -m1 ":$displaynum " | awk '{print $1}'` >+ user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'` > if [ x"$user" = x"" ]; then >- user=`who| grep -m1 ":$displaynum" | awk '{print $1}'` >+ user=`finger| grep -m1 ":$displaynum" | awk '{print $1}'` > fi > if [ x"$user" != x"" ]; then > userhome=`getent passwd $user | cut -d: -f6` >@@ -46,7 +46,7 @@ > getXuser; > if [ x"$XAUTHORITY" != x"" ]; then > export DISPLAY=":$displaynum" >- su $user -c "/opt/ati/bin/aticonfig --set-powerstate=1 --effective=now" >+ su $user -c "/usr/X11R6/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 "/opt/ati/bin/aticonfig --set-powerstate=3 --effective=now" >+ su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=3 --effective=now" > fi > done > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139436
:
91816
| 91817 |
93436
|
101258
|
109715
|
109727