diff --git a/modules/ip b/modules/ip index 4703fff..c778e8e 100755 --- a/modules/ip +++ b/modules/ip @@ -1,5 +1,7 @@ #!/bin/bash -ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -echo $ip -echo "" + +IP=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') + +echo "$IP" +echo "$IP" echo ""