mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-13 23:04:53 +00:00
Removed "del default route" command
This commit is contained in:
parent
72d1e615d8
commit
9024ad56f2
@ -92,7 +92,6 @@ 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 del default" >> /etc/ppp/ip-up
|
||||
echo "sudo route add default ppp0" >> /etc/ppp/ip-up
|
||||
fi
|
||||
|
||||
|
@ -93,7 +93,6 @@ 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 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