summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-19 14:45:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-19 14:45:14 +0000
commit15651c68cfa3f423b1f45f25bc8d0107580eff35 (patch)
treeb851d7e7813ca79cf88b1be1204dca290279bc04 /package/base-files
parentf3e536a67fae43a05ad21f99c2a29c23debfbd2f (diff)
fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4608 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/default/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh
index 163e42e80..690d7996e 100755
--- a/package/base-files/default/lib/network/config.sh
+++ b/package/base-files/default/lib/network/config.sh
@@ -14,7 +14,7 @@ find_config() {
;;
esac
config_get device "$ifn" device
- for ifc in ${device:-iface}; do
+ for ifc in ${device:-$iface}; do
[ "$ifc" = "$1" ] && {
echo "$ifn"
return 0