blob: bb43beb82ef6dd806b1a757efbeac90e79689a05 (
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
|
#!/sbin/openrc-run
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
rpc_bin=/usr/sbin/rpc.rquotad
depend() {
use ypbind net
need portmap
after quota
}
start() {
ebegin "Starting rpc.rquotad"
${rpc_bin} ${OPTS_RPC_RQUOTAD}
eend $?
}
stop() {
ebegin "Stopping rpc.rquotad"
start-stop-daemon --stop --quiet --exec ${rpc_bin}
eend $?
}
|