#!/usr/bin/env bash
set -euo pipefail

if command -v systemctl >/dev/null 2>&1; then
  sudo systemctl stop wg-quick@yura-client || true
else
  sudo wg-quick down /etc/wireguard/yura-client.conf || true
fi

echo "[Yura] Tunnel stopped."
