Update get-wanip.sh
This commit is contained in:
1 parent
7c33de0270
commit
a9c387b695
1 file changed
+1
-1
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
wanip="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1
|
wanip="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1
|
||||||
if [ "${wanip}" == "" ]; then
|
if [ "${wanip}" == "" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user