Bugs fixed

This commit is contained in:
saeedjohar 2020-03-26 12:49:07 +03:00
parent 7c69de4b29
commit 064464cc52

View File

@ -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