You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
385 B
20 lines
385 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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}
|
|
}
|