1
0
Fork 0
This commit is contained in:
Arthur K. 2025-11-07 09:52:16 +03:00
parent 2e90062ea8
commit 7e5d880156

View file

@ -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