#!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/coda/files/6.0.15/venus,v 1.1 2006/06/08 12:47:31 griffon26 Exp $ depend() { need net after codasrv } start() { if ! /usr/sbin/codaconfedit venus.conf &>/dev/null; then eerror "Please run venus-setup before starting the service..." return 1 fi ebegin "Starting venus" start-stop-daemon --start --exec /usr/sbin/venus eend $? } stop() { ebegin "Stopping venus" start-stop-daemon --stop --exec /usr/sbin/venus umount -l coda eend $? }