diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-09-27 11:21:23 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-09-27 11:21:23 +0000 |
commit | ca4bb6415165c3660eb274bff7fce9677777ce34 (patch) | |
tree | 06cbb69fb3b48ed1ab39357a90490bf949dea4f0 /net-dialup/ppp | |
parent | stable for gsla: 64223 (Manifest recommit) (diff) | |
download | gentoo-2-ca4bb6415165c3660eb274bff7fce9677777ce34.tar.gz gentoo-2-ca4bb6415165c3660eb274bff7fce9677777ce34.tar.bz2 gentoo-2-ca4bb6415165c3660eb274bff7fce9677777ce34.zip |
fix handling of INITSTRING, bug #49861
Diffstat (limited to 'net-dialup/ppp')
-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 bd282ea9074d..6e38721be1b9 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/ppp # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.74 2004/09/27 11:08:14 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.75 2004/09/27 11:21:23 lanius Exp $ + + 27 Sep 2004; Heinrich Wendel <lanius@gentoo.org> files/net.ppp0: + fix handling of INITSTRING, bug #49861 *ppp-2.4.2-r4 (27 Sep 2004) diff --git a/net-dialup/ppp/files/net.ppp0 b/net-dialup/ppp/files/net.ppp0 index 4d6a6dfdfb0d..9e7e0a7f9d45 100644 --- a/net-dialup/ppp/files/net.ppp0 +++ b/net-dialup/ppp/files/net.ppp0 @@ -4,7 +4,7 @@ # Author: Martin Schlemmer <azarah@gentoo.org> # Credits: To all those I got ideas from :) # -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.4 2004/07/14 23:18:07 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.5 2004/09/27 11:21:23 lanius Exp $ # NB: Config is in /etc/conf.d/net.$IFACE @@ -168,7 +168,7 @@ setup_cfg_files() { # Setup the chat file if [ -n "${INITSTRING}" ] then - sed -e "9i\\'OK\' \'${INITSTRING}\'" \ + sed -e "/\$NUMBER/i\'OK\' \'${INITSTRING}\'" -e "s:\$NUMBER:${NUMBER}:" \ ${TEMPLATEDIR}/chat-default \ >/etc/ppp/chat-${PEER} |