ALT Linux Bugzilla
– Attachment 2498 Details for
Bug 14915
Внести изменения в ati-powermode.sh
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч
ati-powermode.patch (text/plain), 1.22 KB, created by
Denis Yagofarov
on 2008-03-15 00:31:20 MSK
(
hide
)
Description:
Патч
Filename:
MIME Type:
Creator:
Denis Yagofarov
Created:
2008-03-15 00:31:20 MSK
Size:
1.22 KB
patch
obsolete
>--- /root/ati-powermode.sh 2008-03-14 23:13:39 +0200 >+++ /etc/acpi/ati-powermode.sh 2008-03-14 23:20:04 +0200 >@@ -8,9 +8,9 @@ > # Fedora Modifications By Michael Larabel <Michael AT Phoronix.com> on July 5, 2006 > > getXuser() { >- user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'` >+ user=`who| grep -m1 ":$displaynum " | awk '{print $1}'` > if [ x"$user" = x"" ]; then >- user=`finger| grep -m1 ":$displaynum" | awk '{print $1}'` >+ user=`who| grep -m1 ":$displaynum" | awk '{print $1}'` > fi > if [ x"$user" != x"" ]; then > userhome=`getent passwd $user | cut -d: -f6` >@@ -49,7 +49,7 @@ > getXuser; > if [ x"$XAUTHORITY" != x"" ]; then > export DISPLAY=":$displaynum" >- su $user -c "/usr/bin/aticonfig --set-powerstate=1 --effective=now" >+ su $user -c "/usr/bin/aticonfig --set-powerstate=1" > fi > done > else >@@ -59,7 +59,7 @@ > getXuser; > if [ x"$XAUTHORITY" != x"" ]; then > export DISPLAY=":$displaynum" >- su $user -c "/usr/bin/aticonfig --set-powerstate=3 --effective=now" >+ su $user -c "/usr/bin/aticonfig --set-powerstate=3" > 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 14915
: 2498