projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834f917
)
fix ppp related bug in the network scripts
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Aug 2006 09:50:11 +0000
(09:50 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Aug 2006 09:50:11 +0000
(09:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4437
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/default/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/default/lib/network/config.sh
b/package/base-files/default/lib/network/config.sh
index
76db09d
..
163e42e
100755
(executable)
--- a/
package/base-files/default/lib/network/config.sh
+++ b/
package/base-files/default/lib/network/config.sh
@@
-13,7
+13,8
@@
find_config() {
config_get iface "$ifn" ifnames
;;
esac
- for ifc in $iface; do
+ config_get device "$ifn" device
+ for ifc in ${device:-iface}; do
[ "$ifc" = "$1" ] && {
echo "$ifn"
return 0