2011-12-07 06:27:01 +01:00
|
|
|
#!/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
|
2011-12-07 06:27:01 +01:00
|
|
|
eend $?
|
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
ebegin "Stopping ${description}"
|
2011-12-12 00:11:07 +01:00
|
|
|
start-stop-daemon --stop --exec /usr/sbin/micro-evtd
|
2011-12-07 06:27:01 +01:00
|
|
|
eend $?
|
|
|
|
}
|