Removed "del default route" command

This commit is contained in:
Yasin Kaya 2020-11-17 12:06:16 -08:00
parent 72d1e615d8
commit 9024ad56f2
2 changed files with 0 additions and 2 deletions

View File

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

View File

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