1
0
mirror of https://github.com/moshix/mvs.git synced 2026-01-13 15:17:35 +00:00
This commit is contained in:
moshix 2023-04-16 14:18:21 -05:00 committed by GitHub
parent aa73cf6c84
commit 5b05e3c14f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ reset=`tput sgr0`
get_external() {
# now lets get external IP or timeout
echo -e "${blue}External IP: \t${white}"`timeout $delay curl ifconfig.me 2>/dev/null || echo "${red}no external IP${reset}"`
echo -e "${blue}External IP: \t${white}"`timeout $delay curl ifconfig.me 2>/dev/null || echo "${red}no internet connection${reset}"`
}
# main loop here