projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d116c
)
add pppd options patch from #2114
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 23 Jul 2007 02:50:03 +0000
(
02:50
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 23 Jul 2007 02:50:03 +0000
(
02:50
+0000)
SVN-Revision: 8116
package/ppp/files/ppp.sh
patch
|
blob
|
history
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index 0d0941fda533dd7b3839d3a37968a6059a3442fd..507f453fcd116fa23819eeec144348e124f68d24 100644
(file)
--- 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}"
}