#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/files/capisuite,v 1.3 2004/07/14 23:14:33 agriffis Exp $

depend() {
	need capi
}

start() {
	ebegin "Starting capisuite"
	start-stop-daemon --start --quiet --pidfile /var/run/capisuite.pid --exec /usr/sbin/capisuite -- -d
	eend $?
}

stop() {
	ebegin "Stopping capisuite"
	killall -9 capisuite
	eend $?
}
