Updating whatismyip to use elinks instead of lynx

This commit is contained in:
DarkFeather 2020-11-02 17:20:15 -06:00
parent 6647fc07d6
commit cee344c569
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/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 '/'