X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/caa72b3a3079cb74996f1c8b0c9fc36754087c1e..a59aa3f7d15dae57e2d066e47af3556c46d9dac4:/bin/whatsmyip diff --git a/bin/whatsmyip b/bin/whatsmyip index ed417b2..2d0d796 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,2 +1,8 @@ #!/bin/bash -wget http://automation.whatismyip.com/n09230945.asp -qO - + +curl -4 -s ip.rmz.io && echo +ret4=$? +curl -6 -s ip.rmz.io && echo +ret6=$? + +exit $((ret4 && ret6))