ALT Linux Bugzilla
– Attachment 5043 Details for
Bug 26046
Не запускается на ядрах отличных от 2.6.x
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Тривиальный патч
powernowd.patch (text/plain), 1007 bytes, created by
Evgenii Terechkov
on 2011-08-13 19:00:18 MSK
(
hide
)
Description:
Тривиальный патч
Filename:
MIME Type:
Creator:
Evgenii Terechkov
Created:
2011-08-13 19:00:18 MSK
Size:
1007 bytes
patch
obsolete
>diff --git a/rc.d/init.d/powernowd b/rc.d/init.d/powernowd >index f9e70bd..a1d525c 100755 >--- a/rc.d/init.d/powernowd >+++ b/rc.d/init.d/powernowd >@@ -35,18 +35,18 @@ MODULE=cpufreq_userspace > test -x $DAEMON || exit 0 > RETVAL=0 > >-KERNEL_VER_MAJOR=`uname -r | cut -d. -f1-2` >- >-if [ $KERNEL_VER_MAJOR = 2.6 ]; then >- /sbin/modinfo $MODULE &>/dev/null >- if [ "$?" != "0" ] ; then >- echo -n $"required $MODULE kernel module does not exist."; warning; echo >- exit 0 >- fi >-else >- echo -n $"running a v$KERNEL_VER_MAJOR.x kernel required."; warning; echo >- exit 0 >-fi >+# KERNEL_VER_MAJOR=`uname -r | cut -d. -f1-2` >+ >+# if [ $KERNEL_VER_MAJOR = 2.6 ]; then >+# /sbin/modinfo $MODULE &>/dev/null >+# if [ "$?" != "0" ] ; then >+# echo -n $"required $MODULE kernel module does not exist."; warning; echo >+# exit 0 >+# fi >+# else >+# echo -n $"running a v$KERNEL_VER_MAJOR.x kernel required."; warning; echo >+# exit 0 >+# fi > > # Load config > SourceIfNotEmpty /etc/sysconfig/powernowd
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 26046
:
5043
|
5044