mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-22 02:54:53 +00:00
Bugs fixed
This commit is contained in:
parent
7c69de4b29
commit
064464cc52
@ -115,7 +115,7 @@ sed -i "s/#APN/$carrierapn/" provider
|
|||||||
sed -i "s/#DEVICE/$devicename/" provider
|
sed -i "s/#DEVICE/$devicename/" provider
|
||||||
mv provider /etc/ppp/peers/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 del default" >> /etc/ppp/ip-up
|
||||||
echo "sudo route add default ppp0" >> /etc/ppp/ip-up
|
echo "sudo route add default ppp0" >> /etc/ppp/ip-up
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user