From: Felix Fietkau Date: Sat, 9 May 2015 21:14:46 +0000 (+0000) Subject: ppp: remove the persist option, netifd handles reconnects X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=53a5647414838b204bf21ff33781374588feb737;p=openwrt%2Fstaging%2Flinusw.git ppp: remove the persist option, netifd handles reconnects Significantly reduces reconnect delay Signed-off-by: Felix Fietkau SVN-Revision: 45654 --- diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh index 99fdc87e7a..1a72a1e272 100755 --- a/package/network/services/ppp/files/ppp.sh +++ b/package/network/services/ppp/files/ppp.sh @@ -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"