diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-06-28 15:39:38 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-06-28 15:40:46 +1000 |
commit | 18af72f08fc061f81bb9b04150cd00ce22ba3fc7 (patch) | |
tree | aa9ddbf95d066443619c9ab90529a4794a78b8a0 | |
parent | 5ddc10128aaa78d4de85eda4b54f173b4cc88d39 (diff) | |
download | samba-18af72f08fc061f81bb9b04150cd00ce22ba3fc7.tar.gz samba-18af72f08fc061f81bb9b04150cd00ce22ba3fc7.tar.xz samba-18af72f08fc061f81bb9b04150cd00ce22ba3fc7.zip |
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)
-rwxr-xr-x | ctdb/config/events.d/00.ctdb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/00.ctdb b/ctdb/config/events.d/00.ctdb index 61f20310949..4f97185ab0e 100755 --- a/ctdb/config/events.d/00.ctdb +++ b/ctdb/config/events.d/00.ctdb @@ -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" ] && { |