1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

eventscripts: NFS RPC checks allows "nfsd" in addition to "knfsd"

Want nfs_check_rpc_services() to support filenames without the 'k'.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit d9775fcbd6e30eef8382bea68e2f9bad2309f2c1)
This commit is contained in:
Martin Schwenke 2013-04-23 11:14:48 +10:00
parent c52183c055
commit 05b2edeec2

View File

@ -279,7 +279,7 @@ _nfs_check_rpc_common ()
_restart=""
_opts=""
case "$_prog_name" in
knfsd)
nfsd|knfsd)
_rpc_prog=nfs
_version=3
_restart="echo 'Trying to restart NFS service'"