summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-11-11 20:13:44 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-11-11 20:13:44 +0000
commitada476ccec050a168521e9dde9a5834a4cb82dd5 (patch)
tree8cbb8b743f7d5a3ac71b05f7f77727278383b96f /net-dialup
parentsmall fix (diff)
downloadhistorical-ada476ccec050a168521e9dde9a5834a4cb82dd5.tar.gz
historical-ada476ccec050a168521e9dde9a5834a4cb82dd5.tar.bz2
historical-ada476ccec050a168521e9dde9a5834a4cb82dd5.zip
small fix
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ppp/files/2.4.1-r6/net.ppp07
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