ppp: remove the persist option, netifd handles reconnects
[openwrt/openwrt.git] / 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"