cleanup MTD option handling
[openwrt.git] / package / base-files / files / lib / network / config.sh
index 0ab46c1..d0aa33d 100755 (executable)
@@ -179,6 +179,9 @@ setup_interface_static() {
                done
        }
 
                done
        }
 
+       config_get type "$config" TYPE                                                                               
+       [ "$type" = "alias" ] && return 0
+
        env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
 }
 
        env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
 }
 
This page took 0.027028 seconds and 4 git commands to generate.