ppp: remove the persist option, netifd handles reconnects
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 May 2015 21:14:46 +0000 (21:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 9 May 2015 21:14:46 +0000 (21:14 +0000)
Significantly reduces reconnect delay

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45654

package/network/services/ppp/files/ppp.sh

index 99fdc87e7a206a980c9d9d952806acc3559e526f..1a72a1e27245a37a02549d0e7b650ef4dc39331d 100755 (executable)
@@ -69,7 +69,7 @@ ppp_generic_setup() {
        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"