diff --git a/lgsm/functions/info_distro.sh b/lgsm/functions/info_distro.sh index b2f75b78b..570e856c1 100644 --- a/lgsm/functions/info_distro.sh +++ b/lgsm/functions/info_distro.sh @@ -135,4 +135,6 @@ if [ -d "${backupdir}" ]; then fi # External IP address -extip=$(curl -m 3 ifconfig.co 2>/dev/null) \ No newline at end of file +if [ -z "${extip}" ];then + extip=$(curl -m 3 ifconfig.co 2>/dev/null) +fi \ No newline at end of file