Not using docker-compose to check VPN ip

This commit is contained in:
Roger Gonzalez 2023-01-24 17:21:13 -03:00
parent 1793a5c441
commit c2920f6ba2
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

2
yams
View File

@ -52,7 +52,7 @@ fi
if [ $option == "check-vpn" ]; then if [ $option == "check-vpn" ]; then
echo "Getting your qBittorrent IP..." echo "Getting your qBittorrent IP..."
qbittorrent_ip=$($dc exec qbittorrent sh -c "curl -s ifconfig.me"); qbittorrent_ip=$(docker exec qbittorrent sh -c "curl -s ifconfig.me");
echo "$qbittorrent_ip" echo "$qbittorrent_ip"
echo "Your country in qBittorrent is $($dc exec -it qbittorrent sh -c 'curl -s https://am.i.mullvad.net/country')" echo "Your country in qBittorrent is $($dc exec -it qbittorrent sh -c 'curl -s https://am.i.mullvad.net/country')"
echo echo