mirror of https://github.com/hak5/openwrt-owl.git
ppp: remove the persist option, netifd handles reconnects
Significantly reduces reconnect delay Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45654owl
parent
a13783f8c3
commit
53a5647414
|
@ -69,7 +69,7 @@ ppp_generic_setup() {
|
||||||
if [ "${demand:-0}" -gt 0 ]; then
|
if [ "${demand:-0}" -gt 0 ]; then
|
||||||
demand="precompiled-active-filter /etc/ppp/filter demand idle $demand"
|
demand="precompiled-active-filter /etc/ppp/filter demand idle $demand"
|
||||||
else
|
else
|
||||||
demand="persist"
|
demand=""
|
||||||
fi
|
fi
|
||||||
[ -n "$mtu" ] || json_get_var mtu mtu
|
[ -n "$mtu" ] || json_get_var mtu mtu
|
||||||
[ -n "$pppname" ] || pppname="${proto:-ppp}-$config"
|
[ -n "$pppname" ] || pppname="${proto:-ppp}-$config"
|
||||||
|
|
Loading…
Reference in New Issue