8 lines
246 B
Bash
8 lines
246 B
Bash
#!/bin/bash
|
|
cd /home/server/DNS_Temp
|
|
ipv4=$(curl -k -s https://am.i.mullvad.net/ip)
|
|
ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/)
|
|
source venv/bin/activate.fish
|
|
python3 ./cloudflare_script.py 4 "$ipv4"
|
|
python3 ./cloudflare_script.py 6 "$ipv6"
|