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:
23
sys-apps/micro_evtd/files/micro_evtd-default.initd
Normal file
23
sys-apps/micro_evtd/files/micro_evtd-default.initd
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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 micro_evtd-boot
|
||||
after local
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${description} final tasks"
|
||||
# signalize we're up & running
|
||||
/usr/sbin/microapl -a bz_imhere 120 am4 d4 f4 am4 d4 f4 dm4 dm4 f4 a4 am4 &>/dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${description} final tasks"
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user