#!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need net } start() { ebegin "Starting miCASA daemon" eval start-stop-daemon --start --quiet --exec @SBIN_INSTALL_DIR@/micasad --pidfile /var/run/micasad.pid eend $? } stop() { ebegin "Stopping miCASA daemon" start-stop-daemon --stop --quiet --pidfile /var/run/micasad.pid eend $? }