![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_cpufreqd@4358 504e572c-2e33-0410-9681-be2bf7408885
44 lines
757 B
Bash
Executable File
44 lines
757 B
Bash
Executable File
#!/bin/bash
|
|
#start/stop für sendmail
|
|
#(c) Rainmaker MultiMedia OHG
|
|
#
|
|
#$Author$
|
|
#$Date$
|
|
#$Revision$
|
|
#
|
|
#$Log$
|
|
#Revision 1.1 2005/01/18 13:00:48 kueller
|
|
#Initial revision
|
|
#
|
|
#Revision 1.2 2003/04/19 07:53:05 kueller
|
|
#restart option eingebaut
|
|
#
|
|
#Revision 1.1 2001/09/24 12:14:43 kueller
|
|
#von sendmail umbenannt. Ausserdem korrekturen - korrektes Beenden von
|
|
#Sendmail nun mit killproc routine
|
|
#
|
|
#Revision 1.1.1.1 2001/09/24 11:29:11 kueller
|
|
#AddOns für sendmail
|
|
#
|
|
#
|
|
|
|
source /etc/init.d/functions
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Starting cpufreqd "
|
|
loadproc /usr/sbin/cpufreqd
|
|
;;
|
|
stop)
|
|
echo -n "Stopping cpufreqd"
|
|
killproc /usr/sbin/cpufreqd
|
|
;;
|
|
restart)
|
|
$0 stop
|
|
sleep 1
|
|
$1 start
|
|
;;
|
|
*)
|
|
echo "USAGE: $0 {start|stop|restart}"
|
|
esac
|