]> git.rmz.io Git - dotfiles.git/blobdiff - bin/whatsmyip
lazyvim: absorb snacks notifier
[dotfiles.git] / bin / whatsmyip
index ed417b23f8c4af5e4fe907b5703a40b80de40e62..2d0d796a2766df1622c4831b3e186c5214622c7a 100755 (executable)
@@ -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))