Updating whatismyip to use elinks instead of lynx

This commit is contained in:
2020-11-02 17:20:15 -06:00
parent 6647fc07d6
commit cee344c569

View File

@@ -1,2 +1,2 @@
#!/bin/bash
/usr/bin/lynx -connect_timeout=5 -read_timeout=5 --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'
timeout 5 /usr/bin/elinks --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'