Enforce the pppoe plugin method in the networking scripts.

This commit is contained in:
Michael Tremer
2010-06-30 11:36:06 +02:00
parent be24d6b32f
commit 06b912c5c5

View File

@@ -220,7 +220,7 @@ case "${1}" in
fi
elif [ "$TYPE" == "PPPOE" ]; then
if ( ps ax | grep -q [p]ppd ); then
boot_mesg "pppd is still running." ${FAILURE}
echo_failure
@@ -230,7 +230,10 @@ case "${1}" in
eval $(/usr/local/bin/readhash /var/ipfire/ppp/settings)
[ -c "/dev/ppp" ] || mknod /dev/ppp c 108 0
# We force the plugin method, anyway.
METHOD="PPPOE_PLUGIN"
PPP_NIC=${DEVICE}
if [ "$TYPE" == "vdsl" ]; then