mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
fix typo
This commit is contained in:
parent
783852a444
commit
bb0b00b94a
@ -100,7 +100,7 @@ done
|
|||||||
zjuwlan_test_ip=10.202.68.44
|
zjuwlan_test_ip=10.202.68.44
|
||||||
ip route replace $zjuwlan_test_ip via ${gateway}
|
ip route replace $zjuwlan_test_ip via ${gateway}
|
||||||
zjuwlan_status=`curl -s $zjuwlan_test_ip | grep net.zju.edu.cn | wc -l`
|
zjuwlan_status=`curl -s $zjuwlan_test_ip | grep net.zju.edu.cn | wc -l`
|
||||||
if [ $zjuwlan_status -gt 0 ]
|
if [ $zjuwlan_status -eq 0 ]
|
||||||
then
|
then
|
||||||
cmd="${cmd} nexthop via ${gateway}"
|
cmd="${cmd} nexthop via ${gateway}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user