git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4608 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2006-08-19 14:45:14 +00:00
parent db948ca4c2
commit a09eff835e
1 changed files with 1 additions and 1 deletions

View File

@ -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