Update ppp_install_jetson.sh

This commit is contained in:
saeedjohar 2021-01-29 15:37:36 +03:00 committed by GitHub
parent 17810fe38e
commit c5c3adce06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,5 +132,10 @@ sed -i "s/#APN/$carrierapn/" provider
sed -i "s/#DEVICE/$devicename/" provider
mv provider /etc/ppp/peers/provider
if ! (grep -q 'sudo route' /etc/ppp/ip-up ); then
echo "sudo route add default ppp0" >> /etc/ppp/ip-up
fi
read -p "Press ENTER key to reboot" ENTER
reboot
reboot