blob: 06b22a9871fb269185ab49ed14036f442a3bdb57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/files/mbmon.rc,v 1.1 2005/06/18 04:48:54 vapier Exp $
start() {
einfo "Start Mother Board Monitor"
mbmon \
-P ${MBMON_PORT} \
${MBMON_OPTS}
eend $?
}
stop() {
einfo "Stop Mother Board Monitor"
start-stop-daemon --stop --pidfile /var/run/mbmon.pid
local ret=$?
rm -f /var/run/mbmon.pid
eend ${ret}
}
|