From a5f5888913e00ab59d3459701d01f37e6e357b1e Mon Sep 17 00:00:00 2001 From: William Wernert Date: Wed, 7 Apr 2021 17:03:08 -0400 Subject: [PATCH] Summary order change --- setup/so-whiptail | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/so-whiptail b/setup/so-whiptail index 33053a273..493ae7a68 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -449,6 +449,12 @@ whiptail_end_settings() { __append_end_msg "Management NIC: $MNIC" __append_end_msg "Management IP: $MAINIP" + if [[ $address_type == 'STATIC' ]]; then + __append_end_msg "Gateway: $MGATEWAY" + __append_end_msg "DNS: $MDNS" + __append_end_msg "DNS Domain: $MSEARCH" + fi + if [[ -n $so_proxy ]]; then __append_end_msg "Proxy:" __append_end_msg " Server URL: $proxy_addr" @@ -457,12 +463,6 @@ whiptail_end_settings() { __append_end_msg "Proxy: N/A" fi - if [[ $address_type == 'STATIC' ]]; then - __append_end_msg "Gateway: $MGATEWAY" - __append_end_msg "DNS: $MDNS" - __append_end_msg "DNS Domain: $MSEARCH" - fi - if [[ $is_sensor ]]; then __append_end_msg "Bond NIC(s):" for nic in "${BNICS[@]}"; do