From 70169370bd5460f433da742fa2e2bfcce1ee7add Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Fri, 12 Nov 1999 19:53:32 +0000 Subject: allow pppd to set the default route --- sysconfig/network-scripts/ifup-ppp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index dd7ab2a6..e09c3fd0 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -52,6 +52,9 @@ if [ "${ESCAPECHARS}" != yes ] ; then opts="$opts asyncmap 00000000" fi if [ "${DEFROUTE}" != no ] ; then + # pppd will no longer delete an existing default route + # so we have to help it out a little here. + route del default >/dev/null 2>&1 opts="$opts defaultroute" fi if [ "${PEERDNS}" != no ] ; then -- cgit v1.2.1