sys-apps/micro_evtd: add new init script for being up

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2628 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-10-31 01:07:13 +00:00
parent 8051b114fe
commit 3a6b809c79
5 changed files with 34 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
#!/sbin/runscript
# Copyright 1999-2008 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}"
#start-stop-daemon --start --exec /usr/sbin/micro_evtd
/usr/sbin/micro_evtd
eend $?
}
stop() {
ebegin "Stopping ${description}"
start-stop-daemon --stop --exec /usr/sbin/micro_evtd
eend $?
}