30 lines
398 B
Plaintext
30 lines
398 B
Plaintext
![]() |
#!/bin/bash
|
|||
|
#genpkg Script f<>r cpufreqd
|
|||
|
#(c) 2005, Harald Kueller
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.1 2005/01/18 13:00:48 kueller
|
|||
|
#Initial revision
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
WDIR=`pwd`
|
|||
|
cd etc/init.d
|
|||
|
chmod 755 smtp
|
|||
|
mkdir rc{0,1,2,3,4,5,6}.d
|
|||
|
for i in 0 1 6; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../cpufreqd K84cpufreqd
|
|||
|
cd ..
|
|||
|
done
|
|||
|
for i in 2 3 4 5; do
|
|||
|
cd rc$i.d
|
|||
|
ln -s ../cpufreqd S08cpufreqd
|
|||
|
cd ..
|
|||
|
done
|
|||
|
cd $WDIR
|