Deploying AniNIX service for getting IPs

This commit is contained in:
DarkFeather committed 2022-11-20 21:03:03 -06:00
1 parent 0cee9eac39
commit e6e01211ec
1 file changed
+2 -1
+2 -1
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