|
|
|
@ -97,7 +97,11 @@ running_on_active_node() {
|
|
|
|
|
return 1
|
|
|
|
|
else
|
|
|
|
|
if /usr/sbin/ngcp-check_active -q ; then
|
|
|
|
|
verbose "This seems to be the active node, nothing to do."
|
|
|
|
|
if $FORCE_ACTIVE_NODE; then
|
|
|
|
|
verbose "Force update on active node as requested."
|
|
|
|
|
else
|
|
|
|
|
verbose "This seems to be the active node, nothing to do."
|
|
|
|
|
fi
|
|
|
|
|
return 0
|
|
|
|
|
else
|
|
|
|
|
verbose "This seems to be the inactive node, applying revisions."
|
|
|
|
@ -207,7 +211,7 @@ revision_wrapper() {
|
|
|
|
|
if $FORCE_ACTIVE_NODE; then
|
|
|
|
|
revlist="$revlist $(basename $rev)"
|
|
|
|
|
else
|
|
|
|
|
echo "Replication script ${revname} noted, nothing to do on active node"
|
|
|
|
|
verbose "Replication script ${revname} noted, nothing to do on active node"
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
revlist="$revlist $(basename $rev)"
|
|
|
|
|