script is not running fish

This commit is contained in:
Neshura 2022-11-27 15:33:51 +01:00
parent 87604dfc26
commit f8fad84c97
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -2,6 +2,6 @@
cd /home/server/DNS_Temp cd /home/server/DNS_Temp
ipv4=$(curl -k -s https://am.i.mullvad.net/ip) ipv4=$(curl -k -s https://am.i.mullvad.net/ip)
ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/) ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/)
source venv/bin/activate.fish source venv/bin/activate
python3 ./cloudflare_script.py 4 "$ipv4" python3 ./cloudflare_script.py 4 "$ipv4"
python3 ./cloudflare_script.py 6 "$ipv6" python3 ./cloudflare_script.py 6 "$ipv6"