dnk: use ip route instead of route
This commit is contained in:
parent
9754a0609f
commit
b1cb3d2b02
@ -33,7 +33,7 @@ HOME_DIR="/etc/wireguard"
|
||||
SERVER_NAME="wg-server"
|
||||
SERVER_IP_PREFIX="10.10.10"
|
||||
SERVER_PORT=39547
|
||||
SERVER_INTERFACE=$(route | grep default | awk '{print $8}')
|
||||
SERVER_INTERFACE=$(ip route | grep default | awk '{print $8}')
|
||||
|
||||
while getopts ":icdpqhLUu:I:s:" opt; do
|
||||
case $opt in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user