This commit is contained in:
parent
2e90062ea8
commit
7e5d880156
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash -x
|
||||||
|
|
||||||
PIPE="/var/run/vpnd.sock"
|
PIPE="/var/run/vpnd.sock"
|
||||||
send_cmd() {
|
send_cmd() {
|
||||||
|
|
@ -19,11 +19,11 @@ if resolvectl domain "$DEFAULT_LINK" | grep -q 'wzray.com'; then
|
||||||
IS_LOCAL=1
|
IS_LOCAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IFNAME="rix"
|
IFNAME='ext'
|
||||||
|
|
||||||
while [ "$#" -gt 0 ]; do
|
while [ "$#" -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'm'|'msk') IFNAME='msk';;
|
'i'|'int') IFNAME='int';;
|
||||||
'-v'|'--verbose') VERBOSE=1;;
|
'-v'|'--verbose') VERBOSE=1;;
|
||||||
*) echo "Wrong argument!"; exit 1;;
|
*) echo "Wrong argument!"; exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue