scripts: Respect $RPCMOUNTDOPTS when restarting rpc.mountd
authorMartin Schwenke <martin@meltin.net>
Tue, 24 Mar 2015 09:12:51 +0000 (20:12 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 17 Apr 2015 01:18:45 +0000 (11:18 +1000)
commit2aaddcd0856b174fcfe4e987be7ebb3dedbcfd53
treea97b5e4c2f0670eada2c3f04919cbd9fcaa441a4
parentd43b6ea1fa9988c34ab1e277cb0a9fadae63484d
scripts: Respect $RPCMOUNTDOPTS when restarting rpc.mountd

$RPCMOUNTDOPTS is ignored when restarting rpc.statd due to the service
being unresponsive.  This variable can be used to increase the number
of rpc.mountd threads when there are a lot of clients reattaching so
ignoring it can mean that only a single rpc.mount thread is started.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit 130202d635d8712575fa201a12ef257f4278b862)
config/functions