diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-11-11 20:13:44 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-11-11 20:13:44 +0000 |
commit | 10441738be2b537954de85f846b5bf0636cd1e51 (patch) | |
tree | 44c2eae681188ffdaeb35b786ceb8a4d0d4b4fc4 /net-dialup | |
parent | small fix (diff) | |
download | gentoo-2-10441738be2b537954de85f846b5bf0636cd1e51.tar.gz gentoo-2-10441738be2b537954de85f846b5bf0636cd1e51.tar.bz2 gentoo-2-10441738be2b537954de85f846b5bf0636cd1e51.zip |
small fix
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ppp/files/2.4.1-r6/net.ppp0 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net-dialup/ppp/files/2.4.1-r6/net.ppp0 b/net-dialup/ppp/files/2.4.1-r6/net.ppp0 index 9940e35fbb08..a9e4e85f1fd1 100644 --- a/net-dialup/ppp/files/2.4.1-r6/net.ppp0 +++ b/net-dialup/ppp/files/2.4.1-r6/net.ppp0 @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Author Martin Schlemmer <azarah@gentoo.org> # Credits To all those I got ideas from :) -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/2.4.1-r6/net.ppp0,v 1.2 2001/11/11 20:10:21 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/2.4.1-r6/net.ppp0,v 1.3 2001/11/11 20:13:44 azarah Exp $ PEER="isp" # Define peer (aka ISP) DEBUG="no" # Turn on debugging @@ -55,7 +55,7 @@ AUTOCFGFILES="yes" # By default this scripts will generate DEVICE="${1##*.}" -local CMD_LINE +CMD_LINE="" checkconfig() { @@ -90,9 +90,6 @@ start() { [ "`/sbin/route |grep default`" ] && route del default fi - if [ "${PEERDNS}" = "yes" ] ; then - [ -e /etc/ppp/resolv.conf ] && mv /etc/ppp/resolv.conf - /usr/sbin/pppd ${CMD_LINE} ${MODEMPORT} ${LINESPEED} ipparam ${DEVICE} \ linkname ${DEVICE} call ${PEER} noauth ${PPPOPTIONS} fi |