summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-04-23 11:14:48 +1000
committerMartin Schwenke <martin@meltin.net>2013-05-06 20:40:58 +1000
commit05b2edeec215ada64a0cea50c350f545b334939e (patch)
treeabce0504801210364b4d2129192231ce4c5f91fa /ctdb
parentc52183c0556eb2153eaa67d090d31481f4fcf67b (diff)
downloadsamba-05b2edeec215ada64a0cea50c350f545b334939e.tar.gz
samba-05b2edeec215ada64a0cea50c350f545b334939e.tar.xz
samba-05b2edeec215ada64a0cea50c350f545b334939e.zip
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)
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/config/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions
index 1d4a3180566..1e6d1f5511d 100755
--- a/ctdb/config/functions
+++ b/ctdb/config/functions
@@ -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'"