blob: 5c3cf30d304f1c0554cdcbd4108b13eff7570dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net rpcbind
}
start() {
ebegin "Starting NFS statd"
start-stop-daemon --start --quiet --exec \
/usr/sbin/rpc.statd -- $rpcstatdopts
eend $? "Error starting NFS statd"
}
stop() {
ebegin "Stopping NFS statd"
start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.statd
eend $? "Error stopping NFS statd"
}
|