mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
Eventscripts - in 60.nfs uniquify the share check directory list
There are sites that have multiple entries for the same export. This optimises the share check in this case. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 1ccdae79b64b236fc27f4653606429d73c9c3595)
This commit is contained in:
parent
2902203900
commit
54402cdff4
@ -70,6 +70,7 @@ case "$1" in
|
||||
[ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || {
|
||||
exportfs -v | grep '^/' |
|
||||
sed -r -e 's@[[:space:]]+[^[:space:]()]+\([^[:space:]()]+\)$@@' |
|
||||
sort -u |
|
||||
ctdb_check_directories
|
||||
} || exit $?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user