Bash side implementation of #8

This commit is contained in:
Neshura 2022-11-28 22:29:35 +01:00
parent a41bab9639
commit 05b4544331
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -3,6 +3,7 @@ if [ "$1" = "docker" ]; then
cd "/usr/bin/app" || exit
while :
do
clear
ipv4=$(curl -k -s https://am.i.mullvad.net/ip)
ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/)
python3 ./cloudflare_script.py 4 "$ipv4"