sys-apps/micro-evtd: restructure the box detection

(Portage version: 2.2.0_alpha78/git/Linux x86_64, unsigned Manifest commit)
This commit is contained in:
Mario Fetka
2011-12-21 22:46:53 +01:00
parent 309fa5d5a8
commit b39607fd01
5 changed files with 135 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
#!/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 micro-evtd-boot
after *
}
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 $?
}