diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-16 10:10:42 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-16 10:10:42 +0000 |
commit | 29bf6db71dcc45dcec17154afe1b051718ad7d46 (patch) | |
tree | 64e8b96e68e63e819fba944ab9b9a5736f9af704 /net-dialup | |
parent | Cleanup, and 3dnowext in place (diff) | |
download | gentoo-2-29bf6db71dcc45dcec17154afe1b051718ad7d46.tar.gz gentoo-2-29bf6db71dcc45dcec17154afe1b051718ad7d46.tar.bz2 gentoo-2-29bf6db71dcc45dcec17154afe1b051718ad7d46.zip |
default route removal (#89017)
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ppp/ChangeLog | 5 | ||||
-rw-r--r-- | net-dialup/ppp/files/net.ppp0 | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog index 9edffec440cd..86c4bfa27560 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/ppp # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.103 2005/04/15 01:50:04 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.104 2005/04/16 10:10:42 mrness Exp $ + + 16 Apr 2005; Alin Nastac <mrness@gentoo.org> files/net.ppp0: + Fix net.ppp0 script regarding default route removal (#89017). 14 Apr 2005; Tom Gall <tgall@gentoo.org> ppp-2.4.3-r1.ebuild: added ~ppc64, bug #89139 diff --git a/net-dialup/ppp/files/net.ppp0 b/net-dialup/ppp/files/net.ppp0 index 206134e3b807..ca88774595e0 100644 --- a/net-dialup/ppp/files/net.ppp0 +++ b/net-dialup/ppp/files/net.ppp0 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.8 2005/03/18 06:08:27 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.9 2005/04/16 10:10:42 mrness Exp $ # Misc internal variables CMD_LINE="" @@ -32,7 +32,7 @@ start() { if [ "${DEFROUTE}" = "yes" ] then - [ -n "$(/sbin/route -n | egrep '0.0.0.0')" ] && route del default + [ -n "$(/sbin/route -n | egrep '^0.0.0.0')" ] && route del default fi # Added hide-password here, can't be too sure... /usr/sbin/pppd ${CMD_LINE} ${MODEMPORT} ${LINESPEED} \ |