3 # breezed is a fan speed control daemon for Linux computers.
5 # Copyright (c) 2008 Francois Fleuret
6 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
8 # This file is part of breezed.
10 # breezed is free software: you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License version 3 as
12 # published by the Free Software Foundation.
14 # breezed is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with breezed. If not, see <http://www.gnu.org/licenses/>.
26 # Default-Start: 2 3 4 5
28 # Short-Description: Fan control daemon
31 DAEMON="/usr/local/bin/breezed"
33 test -x $DAEMON || exit 0
35 . /lib/lsb/init-functions
40 log_daemon_msg "Starting fan control daemon" "breezed"
41 start-stop-daemon --start --background --quiet \
42 --make-pidfile --pidfile /var/run/breezed.pid \
53 log_daemon_msg "Stopping fan control daemon" "breezed"
54 start-stop-daemon --stop --quiet \
55 --pidfile /var/run/breezed.pid
60 echo "Usage: breezed.sh [start|restart|stop]" >&2
65 ######################################################################