From: Felix Fietkau Date: Sat, 19 Aug 2006 14:45:14 +0000 (+0000) Subject: fix typo X-Git-Tag: reboot~30718^2~274 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f070135a8decd22667bd6bd03cfb0a76989dda15;p=openwrt%2Fstaging%2Fchunkeey.git fix typo SVN-Revision: 4608 --- diff --git a/openwrt/package/base-files/default/lib/network/config.sh b/openwrt/package/base-files/default/lib/network/config.sh index 163e42e800..690d7996ef 100755 --- a/openwrt/package/base-files/default/lib/network/config.sh +++ b/openwrt/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