overlay/sys-apps/micro-evtd/files/micro_evtd-boot.initd

26 lines
594 B
Plaintext
Raw Normal View History

#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
description="Linkstation/Kurobox/Terastation micro controller daemon"
depend() {
need localmount
use logger
}
start() {
# micro_evtd doesn't start properly from s-s-d, need to investigate
ebegin "Starting ${description}"
2011-12-12 00:11:07 +01:00
#start-stop-daemon --start --exec /usr/sbin/micro-evtd
/usr/sbin/micro-evtd
eend $?
}
stop() {
ebegin "Stopping ${description}"
2011-12-12 00:11:07 +01:00
start-stop-daemon --stop --exec /usr/sbin/micro-evtd
eend $?
}