#!/sbin/runscript # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/files/cfsd.init,v 1.3 2011/12/31 19:54:20 idl0r Exp $ depend() { need nfs before nfsmount } start() { ebegin "Starting cfsd" NODAEMON=1 start-stop-daemon --start --pidfile /var/run/cfs.pid \ --make-pidfile --background --exec /usr/sbin/cfsd eend $? } stop() { ebegin "Stopping cfsd" start-stop-daemon --stop --pidfile /var/run/cfs.pid \ && rm -f /var/run/cfs.pid eend $? } # Local Variables: # mode: shell-script # indent-tabs-mode: t # tab-width: 4 # End: