summaryrefslogtreecommitdiff
path: root/package/network/services/ppp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-09 21:14:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-09 21:14:46 +0000
commit53a5647414838b204bf21ff33781374588feb737 (patch)
tree4e5751bc11fffe4a789eeae71043cde6bdb54488 /package/network/services/ppp
parenta13783f8c331ca5f02a4a4110f0b9fc3fae02675 (diff)
downloadmtk-20170518-53a5647414838b204bf21ff33781374588feb737.zip
mtk-20170518-53a5647414838b204bf21ff33781374588feb737.tar.gz
mtk-20170518-53a5647414838b204bf21ff33781374588feb737.tar.bz2
ppp: remove the persist option, netifd handles reconnects
Significantly reduces reconnect delay Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45654
Diffstat (limited to 'package/network/services/ppp')
-rwxr-xr-xpackage/network/services/ppp/files/ppp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh
index 99fdc87..1a72a1e 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"