1
0
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:
Zeno Zeng 2014-09-26 13:58:47 +08:00
parent 8e2c203d35
commit 76fedf3b81

2
vpn.sh
View File

@ -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}')