Browse Source

[Improve][GPL][pppd]

2022.07.29 / Folus Wen

Actions:
1. Don't delete default route when ppp0 connected.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen 2 years ago
parent
commit
5e5166cfbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EVSE/rootfs/root/ppp/4GDetection

+ 1 - 1
EVSE/rootfs/root/ppp/4GDetection

@@ -5,7 +5,7 @@ do
 InterFace=`ifconfig | grep -o "ppp0"`
 if [ "$InterFace" == "ppp0" ]; then
 	if [ ! -f "/etc/resolv.conf.org" ]; then
-		route del default &>/dev/null
+#		route del default &>/dev/null
 		route add default dev $InterFace &>/dev/null
 		route add dev $InterFace &>/dev/null
 		if [ -f "/etc/ppp/resolv.conf" ]; then