From da3f65f28c40165298b29ce3abce753889b6a41c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 23 Jul 2007 02:50:03 +0000 Subject: [PATCH] add pppd options patch from #2114 SVN-Revision: 8116 --- package/ppp/files/ppp.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh index 0d0941fda5..507f453fcd 100644 --- a/package/ppp/files/ppp.sh +++ b/package/ppp/files/ppp.sh @@ -24,6 +24,7 @@ start_pppd() { config_get connect "$cfg" connect config_get disconnect "$cfg" disconnect + config_get pppd_options "$cfg" pppd_options interval="${keepalive##*[, ]}" [ "$interval" != "$keepalive" ] || interval=5 @@ -40,7 +41,8 @@ start_pppd() { linkname "$cfg" \ ipparam "$cfg" \ ${connect:+connect "$connect"} \ - ${disconnect:+disconnect "$disconnect"} + ${disconnect:+disconnect "$disconnect"} \ + ${pppd_options} lock -u "/var/lock/ppp-${cfg}" } -- 2.30.2