diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-09 21:14:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-09 21:14:46 +0000 |
commit | 3ce7d548a85967d4b6feeca7e2457c5044afec45 (patch) | |
tree | b5034b1bf4d89cbadc7024d4cf4fca77433c5f2b /package/network | |
parent | 1b00bc68f976f0a9812bfe36cf3251d914ac62bb (diff) | |
download | master-187ad058-3ce7d548a85967d4b6feeca7e2457c5044afec45.tar.gz master-187ad058-3ce7d548a85967d4b6feeca7e2457c5044afec45.tar.bz2 master-187ad058-3ce7d548a85967d4b6feeca7e2457c5044afec45.zip |
ppp: remove the persist option, netifd handles reconnects
Significantly reduces reconnect delay
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45654 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/services/ppp/files/ppp.sh | 2 |
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 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" |