1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

from Christian A

when monitoring that all nfs shares are available, allow both ' ' and 
'\t' characters to separate the exported directory from the options
in /etc/exports

(This used to be ctdb commit ac6cfe9de0acdcf9461068684fa890504454aae4)
This commit is contained in:
Ronnie Sahlberg 2007-11-16 13:37:27 +11:00
parent 9f4b0dab03
commit b09d3de759

View File

@ -69,7 +69,7 @@ case $cmd in
ctdb_check_rpc "NFS" 100003 3
# and that its directories are available
nfs_dirs=`grep -v '^#' < /etc/exports | cut -d' ' -f1`
nfs_dirs=$(grep -v '^#' < /etc/exports | awk {'print $1;'})
ctdb_check_directories "nfs" $nfs_dirs
# check that lockd responds to rpc requests