Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
16
etc/init/cpufreqd.conf
Normal file
16
etc/init/cpufreqd.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
description "Startup the cpufreq daemon for Powermanagement"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [12345] and (started mountfs))
|
||||||
|
stop on (runlevel [06] and (stopping udev))
|
||||||
|
|
||||||
|
console none
|
||||||
|
|
||||||
|
pre-start script
|
||||||
|
/sbin/CheckPid /var/run/cpufreqd.pid
|
||||||
|
end script
|
||||||
|
|
||||||
|
exec /usr/sbin/cpufreqd -D
|
||||||
|
respawn
|
20
init/genpkg
20
init/genpkg
@ -12,18 +12,20 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
WDIR=`pwd`
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
cd etc/init.d
|
WDIR=`pwd`
|
||||||
chmod 755 smtp
|
cd etc/init.d
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
chmod 755 smtp
|
||||||
for i in 0 1 6; do
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
|
for i in 0 1 6; do
|
||||||
cd rc$i.d
|
cd rc$i.d
|
||||||
ln -s ../cpufreqd K84cpufreqd
|
ln -s ../cpufreqd K84cpufreqd
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
for i in 2 3 4 5; do
|
for i in 2 3 4 5; do
|
||||||
cd rc$i.d
|
cd rc$i.d
|
||||||
ln -s ../cpufreqd S08cpufreqd
|
ln -s ../cpufreqd S08cpufreqd
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user