]> git.rmz.io Git - dotfiles.git/blobdiff - bin/whatsmyip
bin/addnzb: show curl errors
[dotfiles.git] / bin / whatsmyip
index 2e6c6c39d4b3ff258d6e931b13ce6efc1b192e61..c72ed041fdd2da204474d4d5c3e1397537ab29e1 100755 (executable)
@@ -1,7 +1,3 @@
 #!/bin/bash
 
 #!/bin/bash
 
-if hash dig 2>/dev/null; then
-    dig +short myip.opendns.com @resolver1.opendns.com
-elif hash curl 2>/dev/null; then
-    curl -s ifconfig.me/ip
-fi
+curl -s ip.rmz.io