aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/network/services/ppp/files/etc/ppp/options2
-rwxr-xr-xpackage/network/services/ppp/files/ppp.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/ppp/files/etc/ppp/options b/package/network/services/ppp/files/etc/ppp/options
index 6b93f7bdb6..dbb2bdb3e2 100644
--- a/package/network/services/ppp/files/etc/ppp/options
+++ b/package/network/services/ppp/files/etc/ppp/options
@@ -6,5 +6,3 @@ nopcomp
nocrtscts
lock
maxfail 0
-lcp-echo-failure 5
-lcp-echo-interval 1
diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh
index 73bc3161cd..99d5e4939f 100755
--- a/package/network/services/ppp/files/ppp.sh
+++ b/package/network/services/ppp/files/ppp.sh
@@ -120,6 +120,8 @@ ppp_generic_setup() {
}
}
+ [ -n "$keepalive" ] || keepalive="5 1"
+
local lcp_failure="${keepalive%%[, ]*}"
local lcp_interval="${keepalive##*[, ]}"
local lcp_adaptive="lcp-echo-adaptive"