mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-14 15:24:52 +00:00
route information adding issue fixed
This commit is contained in:
parent
409b9936be
commit
d77d29eed7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user