blob: eef1c99e984bbd07b53eaae060b5137968e9a9e9 (
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
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/files/sfssd,v 1.1.1.1 2005/11/30 09:45:54 chriswhite Exp $
depend() {
need net portmap nfs
}
start() {
ebegin "Starting SFS server daemon"
start-stop-daemon --start --quiet --exec /sbin/sfssd 1>&2
eend $?
}
stop() {
# Stopping/restarting will likely cause any connected SFS clients
# to hang messily until they are restarted. Just keep this in
# mind, as I do not believe that the current version has a
# work-around.
ebegin "Stopping SFS server daemon"
start-stop-daemon --stop --quiet --exec /sbin/sfssd 1>&2
eend $?
}
|