aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-11-12 13:08:14 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-11-12 13:08:14 +0000
commitace3709ffda40425302264550d445a102fadb388 (patch)
tree0f7edf2ccc87732749ff539b40a2ac668077ea00 /sysconfig/network-scripts
parent0ced94e6d34197dc286c660c72055a438d9ac51b (diff)
downloadinitscripts-ace3709ffda40425302264550d445a102fadb388.tar
initscripts-ace3709ffda40425302264550d445a102fadb388.tar.gz
initscripts-ace3709ffda40425302264550d445a102fadb388.tar.bz2
initscripts-ace3709ffda40425302264550d445a102fadb388.tar.xz
initscripts-ace3709ffda40425302264550d445a102fadb388.zip
move PPPOPTIONS to the end
use noauth always to work around new defaultroot behaviour
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index 201900b0..dd7ab2a6 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -90,14 +90,15 @@ fi
if [ -n "$WVDIALSECT" ] ; then
exec /usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \
remotename $DEVICE ipparam $DEVICE \
- ${PPPOPTIONS} \
linkname $DEVICE \
noauth \
+ ${PPPOPTIONS} \
connect "/usr/bin/wvdial --remotename $DEVICE --chat $WVDIALSECT"
else
exec /usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \
remotename $DEVICE ipparam $DEVICE \
- ${PPPOPTIONS} \
linkname $DEVICE \
+ noauth \
+ ${PPPOPTIONS} \
connect "/usr/sbin/chat $chatdbg -f $CHATSCRIPT"
fi