From 5cffc05ba1b16f90c81d3168543e5de48853076f Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 30 Dec 2008 16:48:28 +0100 Subject: [PATCH] Fix red script for pptp connection --- src/initscripts/init.d/networking/red | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/init.d/networking/red b/src/initscripts/init.d/networking/red index caa857263d..9b4ffe8a07 100644 --- a/src/initscripts/init.d/networking/red +++ b/src/initscripts/init.d/networking/red @@ -330,7 +330,7 @@ case "${1}" in ### Run everything # - if [ "${METHOD}" == "PPPOE_PLUGIN" ]; then + if [ "$TYPE" == "pppoe" ] && [ "${METHOD}" == "PPPOE_PLUGIN" ]; then /usr/sbin/pppd $PPP_STD_OPTIONS $DEBUG $DEMAND >/dev/null 2>&1 & evaluate_retval # echo PLUGIN: /usr/sbin/pppd $PPP_STD_OPTIONS $DEBUG $DEMAND -- 2.39.5