Remove default config for ppp

This commit is contained in:
Roy Marples 2007-04-19 13:00:59 +00:00
parent 247dec818b
commit 4768bd45f2

View File

@ -17,11 +17,19 @@ requote() {
}
pppd_pre_start() {
${IN_BACKGROUND} && return 0
# Interface has to be called ppp
[ "${IFACE%%[0-9]*}" = "ppp" ] || return 0
if ${IN_BACKGROUND} ; then
local config=
eval config=\$config_${IFVAR}
# If no config for ppp then don't default to DHCP
if [ -z "${config}" ] ; then
eval config_${IFVAR}=\"null\"
fi
return 0
fi
local link= i= opts= unit="${IFACE#ppp}" mtu=
# PPP requires a link to communicate over - normally a serial port