diff --git a/start.sh b/start.sh index 986376f..de19d09 100644 --- a/start.sh +++ b/start.sh @@ -109,10 +109,11 @@ do read -t 2 if nmcli connection show --active | grep -q $vpn then - echo "VPN connection successfully established" + ip=$(curl -s https://api.ipify.org) + echo "VPN connection successfully established (IP: $ip)" echo "Starting script..." if [ -n "$webhook" ]; then - send_webhook "VPN connection successfully established.\nStarting script..." + send_webhook "VPN connection successfully established (IP: $ip).\nStarting script..." fi if [ -f "./Microsoft-Rewards-bot/$vpn.json" ] then