View | Details | Raw Unified | Return to bug 26046
Collapse All | Expand All

(-)a/rc.d/init.d/powernowd (-12 / +12 lines)
Lines 35-52 MODULE=cpufreq_userspace Link Here
35
test -x $DAEMON || exit 0
35
test -x $DAEMON || exit 0
36
RETVAL=0
36
RETVAL=0
37
37
38
KERNEL_VER_MAJOR=`uname -r | cut -d. -f1-2`
38
# KERNEL_VER_MAJOR=`uname -r | cut -d. -f1-2`
39
39
40
if [ $KERNEL_VER_MAJOR = 2.6 ]; then
40
# if [ $KERNEL_VER_MAJOR = 2.6 ]; then
41
    /sbin/modinfo $MODULE &>/dev/null
41
#     /sbin/modinfo $MODULE &>/dev/null
42
    if [ "$?" != "0" ] ; then
42
#     if [ "$?" != "0" ] ; then
43
	echo -n $"required $MODULE kernel module does not exist."; warning; echo
43
# 	echo -n $"required $MODULE kernel module does not exist."; warning; echo
44
	exit 0
44
# 	exit 0
45
    fi
45
#     fi
46
else
46
# else
47
    echo -n $"running a v$KERNEL_VER_MAJOR.x kernel required."; warning; echo
47
#     echo -n $"running a v$KERNEL_VER_MAJOR.x kernel required."; warning; echo
48
    exit 0
48
#     exit 0
49
fi
49
# fi
50
50
51
# Load config
51
# Load config
52
SourceIfNotEmpty /etc/sysconfig/powernowd
52
SourceIfNotEmpty /etc/sysconfig/powernowd

Return to bug 26046