From d77d29eed73ac59147ab9ceb5324f0d037ce4228 Mon Sep 17 00:00:00 2001 From: saeedjohar Date: Tue, 3 Dec 2019 14:11:23 +0300 Subject: [PATCH] route information adding issue fixed --- ppp_installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppp_installer/install.sh b/ppp_installer/install.sh index 83506dd..aa6ab3f 100755 --- a/ppp_installer/install.sh +++ b/ppp_installer/install.sh @@ -129,7 +129,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