Deploying AniNIX service for getting IPs

This commit is contained in:
2021-11-05 15:54:42 -05:00
parent 0cee9eac39
commit e6e01211ec

View File

@@ -1,2 +1,3 @@
#!/bin/bash
timeout 5 /usr/bin/elinks --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'
timeout 5 curl https://aninix.net/whatismyip
echo