X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=src%2Finitscripts%2Finit.d%2Fnet%2Fred%2Fpppoe;h=431c2c0e76942c1042b347184fade7f0bb0a23e9;hp=463fe23204c4cb4315d4af42c5526269413e61fa;hb=bf7c473f7b0b0231854ed00e633322b25c5a247b;hpb=c9e1c143a246343e516be32e43d06f35c99fd9d8 diff --git a/src/initscripts/init.d/net/red/pppoe b/src/initscripts/init.d/net/red/pppoe index 463fe23204..431c2c0e76 100644 --- a/src/initscripts/init.d/net/red/pppoe +++ b/src/initscripts/init.d/net/red/pppoe @@ -50,7 +50,7 @@ case "${2}" in touch /var/ipfire/red/dial-on-demand ARGS+=" demand nopersist connect /bin/true" fi - ARGS+=" active-filter outbound and not icmp[0] == 3 and not tcp[13] & 4 != 0" + DEMAND+=" active-filter outbound and not icmp[0] == 3 and not tcp[13] & 4 != 0" fi ARGS+=" noipdefault default-asyncmap defaultroute hide-password local mtu 1492" @@ -62,7 +62,7 @@ case "${2}" in ARGS+=" debug" fi - $PPPCOMMAND "${PPPOECOMMAND}" $ARGS + $PPPCOMMAND "${PPPOECOMMAND}" $ARGS $DEMAND >/dev/null 2>&1 evaluate_retval else @@ -87,7 +87,7 @@ case "${2}" in touch /var/ipfire/red/dial-on-demand PPPCOMMAND+=" demand nopersist" fi - PPPCOMMAND+=" active-filter outbound and not icmp[0] == 3 & not tcp[13] & 4 != 0" + DEMAND+="active-filter outbound and not icmp[0] == 3 & not tcp[13] & 4 != 0" fi PPPCOMMAND+=" noipdefault defaultroute hide-password ipcp-accept-local" @@ -99,7 +99,7 @@ case "${2}" in PPPCOMMAND+=" debug" fi - $PPPCOMMAND + $PPPCOMMAND $DEMAND >/dev/null 2>&1 evaluate_retval fi