diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index da69057..0165c81 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -179,14 +179,6 @@ else public="" public_color="${color_red}" fi - if [ ${#public_addr} -gt 25 ]; then - # if a IPv6 address dont show peers to save space - networkConnectionsInfo="" - fi - if [ ${#public_addr} -gt 35 ]; then - # if a LONG IPv6 address dont show "Public" in front to save space - public_addr_pre="" - fi # DynDNS if [ ${#dynDomain} -gt 0 ]; then @@ -201,9 +193,17 @@ else # replace IP display with dynDNS public_addr_pre="DynDNS " - networkConnectionsInfo="" public_addr="${dynDomain}" + fi + if [ ${#public_addr} -gt 25 ]; then + # if a IPv6 address dont show peers to save space + networkConnectionsInfo="" + fi + + if [ ${#public_addr} -gt 35 ]; then + # if a LONG IPv6 address dont show "Public" in front to save space + public_addr_pre="" fi fi