From 064464cc5271864e6fce5190b289b20cb93fa4c5 Mon Sep 17 00:00:00 2001 From: saeedjohar Date: Thu, 26 Mar 2020 12:49:07 +0300 Subject: [PATCH] Bugs fixed --- ppp_installer/install_ppp_jetson.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppp_installer/install_ppp_jetson.sh b/ppp_installer/install_ppp_jetson.sh index 1decb6d..24d55b2 100755 --- a/ppp_installer/install_ppp_jetson.sh +++ b/ppp_installer/install_ppp_jetson.sh @@ -115,7 +115,7 @@ sed -i "s/#APN/$carrierapn/" provider sed -i "s/#DEVICE/$devicename/" provider mv provider /etc/ppp/peers/provider -if ! (grep -q 'route' /etc/ppp/ip-up ); then +if ! (grep -q 'sudo route' /etc/ppp/ip-up ); then echo "sudo route del default" >> /etc/ppp/ip-up echo "sudo route add default ppp0" >> /etc/ppp/ip-up fi