projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9edce6b
)
fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 Feb 2007 11:53:50 +0000
(11:53 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 Feb 2007 11:53:50 +0000
(11:53 +0000)
SVN-Revision: 6354
package/ppp/files/ppp.sh
patch
|
blob
|
history
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index 0bd75fc0a76e565307575c6ecaf8616b4f98fe8d..5eb007da1fe367b7a67c59d15f50ef5a2fba9924 100644
(file)
--- a/
package/ppp/files/ppp.sh
+++ b/
package/ppp/files/ppp.sh
@@
-3,6
+3,10
@@
scan_ppp() {
pppdev="${pppdev:-0}"
config_set "$1" ifname "ppp$pppdev"
config_set "$1" unit "$pppdev"
+
+ # set 'auto' to 0, so that hotplug does not attempt to
+ # reconfigure an interface that is managed by pppd
+ config_set "$1" auto 0
}
start_pppd() {