mirror of
https://github.com/moshix/mvs.git
synced 2026-01-13 15:17:35 +00:00
optics
This commit is contained in:
parent
aa73cf6c84
commit
5b05e3c14f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user