]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Enforce the pppoe plugin method in the networking scripts.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Jun 2010 09:36:06 +0000 (11:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Jun 2010 09:36:06 +0000 (11:36 +0200)
src/initscripts/init.d/networking/red

index f60c0d1591154b5274f77e965f28772fbffdf7d4..0a642f8e8fc9564aaa0a754825e00e598e5bfe4e 100644 (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