commit | 742dd02ecf04062de53857c4336ccf6a03375af0 | [log] [tgz] |
---|---|---|
author | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
committer | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
tree | f710dc431d7cbac280cf98643b0dd6202f013686 | |
parent | d3b9e7d18fdab1c4275e621d79b105f441d15878 [diff] [blame] |
[Feature][ZXW-41] merged 0601 version Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/ap/app/Script/scripts/ppp_updown.sh b/ap/app/Script/scripts/ppp_updown.sh index 7425a33..f36ea86 100755 --- a/ap/app/Script/scripts/ppp_updown.sh +++ b/ap/app/Script/scripts/ppp_updown.sh
@@ -95,7 +95,7 @@ #±¾µØÍøÂçÅäÖà iptables -t nat -I POSTROUTING -s $ps_ip -o $ps_if -j SNAT --to $pdp_ip - route_info=`route|grep default` + route_info=`ip route|grep default` if [ "$route_info" == "" ];then route add default dev $ps_if