Deploying AniNIX service for getting IPs

This commit is contained in:
DarkFeather 2021-11-05 15:54:42 -05:00
parent 0cee9eac39
commit e6e01211ec
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
1 changed files with 2 additions and 1 deletions

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