Fix red script for pptp connection

This commit is contained in:
Arne Fitzenreiter
2008-12-30 16:48:28 +01:00
parent 5aae218d58
commit 5cffc05ba1

View File

@@ -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