mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
GHA workflow - Fix Test 4 [skip travis]
This commit is contained in:
parent
fa7535856d
commit
8b2c522d1c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue