diff --git a/get-wanip.sh b/get-wanip.sh index 3f6a9e9..dea9b61 100755 --- a/get-wanip.sh +++ b/get-wanip.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash + wanip="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1 if [ "${wanip}" == "" ]; then