blob: a2d62771939fa68e3600a55824adbeadf48641cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/runscript
# Copyright 1999-2004 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.2 2004/09/28 00:18:13 swegener 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 --oknodo --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:
|