mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
update info log
This commit is contained in:
parent
8e2c203d35
commit
76fedf3b81
2
vpn.sh
2
vpn.sh
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
set_up_routes() {
|
set_up_routes() {
|
||||||
|
|
||||||
|
echo "[INFO] Setting up ip route."
|
||||||
|
|
||||||
ip=$(ip route show 0/0 | cut -d " " -f 3)
|
ip=$(ip route show 0/0 | cut -d " " -f 3)
|
||||||
|
|
||||||
gateway=$(ip route get 10.10.0.21 | grep via | awk '{print $3}')
|
gateway=$(ip route get 10.10.0.21 | grep via | awk '{print $3}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user