summaryrefslogtreecommitdiff
path: root/package/base-files/default/lib
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/lib')
-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 163e42e800..690d7996ef 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