mirror of
https://github.com/samba-team/samba.git
synced 2025-03-26 18:50:30 +03:00
change the name for the key for the record where we stoire the public address config from public-addresses... to public_addresses...
CQ1019030 (This used to be ctdb commit 114d5034ff4880848588caf493382a537a1469ae)
This commit is contained in:
parent
5ddc10128a
commit
18af72f08f
@ -14,7 +14,7 @@ loadconfig
|
||||
|
||||
update_config_from_tdb() {
|
||||
# Pull optional ctdb configuration data out of config.tdb
|
||||
PUBLICADDRESSESKEY='public-addresses:node#'`ctdb -t 1 xpnn|sed -e "s/.*://"`
|
||||
PUBLICADDRESSESKEY='public_addresses:node#'`ctdb -t 1 xpnn|sed -e "s/.*://"`
|
||||
rm -f $CTDB_VARDIR/state/public_addresses
|
||||
ctdb pfetch config.tdb $PUBLICADDRESSESKEY $CTDB_VARDIR/state/public_addresses 2>/dev/null
|
||||
[ "$?" = "0" ] && [ `stat --format="%s" /etc/ctdb/state/public_addresses` != "0" ] && [ ! -z "$CTDB_PUBLIC_ADDRESSES" ] && {
|
||||
|
Loading…
x
Reference in New Issue
Block a user