fix more instances of '' abuse
[openwrt.git] / package / base-files / default / etc / hotplug.d / net / 10-net
index d5b7f6b..72146a1 100644 (file)
@@ -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