projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
port wan_device changes from whiterussian to kamikaze
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
base-files
/
default
/
sbin
/
ifup
diff --git
a/openwrt/package/base-files/default/sbin/ifup
b/openwrt/package/base-files/default/sbin/ifup
index 67e01a3e90ddf81bdba8bebb7b8843ebb57f00d8..8ae64166854109bf62e7c8f0e2bf87822b2b1741 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/ifup
+++ b/
openwrt/package/base-files/default/sbin/ifup
@@
-23,7
+23,7
@@
case "$if_proto" in
none|"") exit 0;;
esac
-[ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${
if_proto}_ifnam
e)"
+[ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${
type}_devic
e)"
if [ "${if%%[0-9]}" = "br" ]; then
for sif in $(nvram get ${type}_ifnames); do