TT#36351 Use modern ngcp-check-active

Change-Id: I88da19e2d474071f34ea7b23da9a60daf4fd2cbf
changes/18/21018/3
Guillem Jover 7 years ago
parent 0072380d99
commit d4763aba14

@ -136,11 +136,9 @@ fi
case "$1" in
start)
set +e
if [ -x "/usr/sbin/ngcp-check_active" ]; then
/usr/sbin/ngcp-check_active -q
status=$?
case "${status}" in
0|3)
if [ -x "/usr/sbin/ngcp-check-active" ]; then
case "$(ngcp-check-active -v)" in
active|transition)
log_action_msg "Active node or transition."
;;
*)

@ -67,11 +67,9 @@ fi
case "$1" in
start)
set +e
if [ -x "/usr/sbin/ngcp-check_active" ]; then
/usr/sbin/ngcp-check_active -q
status=$?
case "${status}" in
0|3)
if [ -x "/usr/sbin/ngcp-check-active" ]; then
case "$(ngcp-check-active -v)" in
active|transition)
log_action_msg "Active node or transition."
;;
*)

Loading…
Cancel
Save