overlay/sys-apps/micro-evtd/files/micro-evtd-boot.initd-r2
Mario Fetka 26c87a2535 s-s-d unable to start microevtd so run it direcly and correct pidfile name
(Portage version: 2.2.0_alpha123/git/Linux x86_64, unsigned Manifest commit)
2012-11-15 10:32:02 +01:00

29 lines
660 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
PIDFILE=/var/run/micro_evtd.pid
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}"
#start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/micro-evtd
/usr/sbin/micro-evtd
eend $?
}
stop() {
ebegin "Stopping ${description}"
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/micro-evtd
eend $?
}