1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00

add pppd options patch from #2114

SVN-Revision: 8116
This commit is contained in:
Felix Fietkau 2007-07-23 02:50:03 +00:00
parent 35d116c85b
commit da3f65f28c

@ -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}"
}