summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/hotplug.d/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-30 13:21:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-30 13:21:18 +0000
commit155c4da52bcae1b1a00bf3655da3b0aaf40ef941 (patch)
treef8d6f1859e3e3d7c99f7de40256c0b023a423eb0 /openwrt/package/base-files/default/etc/hotplug.d/net
parent3145156ebe4928a162d1cecdd8d9f01e59bf13b0 (diff)
downloadmtk-20170518-155c4da52bcae1b1a00bf3655da3b0aaf40ef941.zip
mtk-20170518-155c4da52bcae1b1a00bf3655da3b0aaf40ef941.tar.gz
mtk-20170518-155c4da52bcae1b1a00bf3655da3b0aaf40ef941.tar.bz2
fix more instances of '' abuse
SVN-Revision: 4326
Diffstat (limited to 'openwrt/package/base-files/default/etc/hotplug.d/net')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
index d5b7f6b..72146a1 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
@@ -8,8 +8,8 @@ addif() {
# find all vlan configurations for this interface and set them up as well
for ifc in $interfaces; do
- config_get type "$ifc" type
- case "$type" in
+ config_get iftype "$ifc" type
+ case "$iftype" in
bridge) config_get ifs "$ifc" ifnames;;
*) config_get ifs "$ifc" ifname;;
esac