GHA workflow - Fix Test 4 [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-05 08:53:56 +02:00
parent fa7535856d
commit 8b2c522d1c
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -56,7 +56,8 @@ magenta=$(tput setaf 5)
cyan=$(tput setaf 6) cyan=$(tput setaf 6)
white=$(tput setaf 7) white=$(tput setaf 7)
defaultcolor=$(tput setaf default) defaultcolor=$(tput setaf default)
thisip=$(dig +short myip.opendns.com @resolver1.opendns.com) #thisip=$(dig +short myip.opendns.com @resolver1.opendns.com)
thisip=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')
# --------- # ---------
# FUNCTIONS # FUNCTIONS