blob: c6fefca866e393e6c96631a55ae7dc8a5555cd3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
PID=/var/run/tuxguardian.pid
depend() {
after net
}
start() {
ebegin "Starting tuxguardian"
start-stop-daemon --start --quiet --background --pidfile ${PID} \
--exec /usr/sbin/tg-daemon
/sbin/modprobe tuxg
eend ${?}
}
stop() {
ebegin "Stopping fancontrol"
start-stop-daemon --stop --pidfile ${PID}
/sbin/modprobe -rf tuxg
eend ${?}
}
|