From 7e5d880156130d877d47032fc175ad14b7edff53 Mon Sep 17 00:00:00 2001 From: "Arthur K." Date: Fri, 7 Nov 2025 09:52:16 +0300 Subject: [PATCH] --- .local/bin/scripts/vpn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/scripts/vpn b/.local/bin/scripts/vpn index dc9b88e..3cfe8b8 100755 --- a/.local/bin/scripts/vpn +++ b/.local/bin/scripts/vpn @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x PIPE="/var/run/vpnd.sock" send_cmd() { @@ -19,11 +19,11 @@ if resolvectl domain "$DEFAULT_LINK" | grep -q 'wzray.com'; then IS_LOCAL=1 fi -IFNAME="rix" +IFNAME='ext' while [ "$#" -gt 0 ]; do case "$1" in - 'm'|'msk') IFNAME='msk';; + 'i'|'int') IFNAME='int';; '-v'|'--verbose') VERBOSE=1;; *) echo "Wrong argument!"; exit 1;; esac