Author: nbd
Date: 2015-05-09 23:14:46 +0200 (Sat, 09 May 2015)
New Revision: 45654

Modified:
   trunk/package/network/services/ppp/files/ppp.sh
Log:
ppp: remove the persist option, netifd handles reconnects

Significantly reduces reconnect delay

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/network/services/ppp/files/ppp.sh
===================================================================
--- trunk/package/network/services/ppp/files/ppp.sh     2015-05-09 21:14:41 UTC 
(rev 45653)
+++ trunk/package/network/services/ppp/files/ppp.sh     2015-05-09 21:14:46 UTC 
(rev 45654)
@@ -69,7 +69,7 @@
        if [ "${demand:-0}" -gt 0 ]; then
                demand="precompiled-active-filter /etc/ppp/filter demand idle 
$demand"
        else
-               demand="persist"
+               demand=""
        fi
        [ -n "$mtu" ] || json_get_var mtu mtu
        [ -n "$pppname" ] || pppname="${proto:-ppp}-$config"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to