ramips: explicitly disable built-in switch for lan-only devices
[openwrt/staging/dedeckeh.git] / target / linux / ramips / rt3883 / base-files / etc / board.d / 02_network
index 873c72cea39fd8468ca40dc2bdaa869a54576ad5..5f364cfc0f481cc540072c23f13c367a623aac4a 100755 (executable)
@@ -27,6 +27,8 @@ ramips_setup_interfaces()
                ;;
        loewe,wmdr-143n|\
        omnima,hpm)
+               ucidef_add_switch "switch0"
+               ucidef_add_switch_attr "switch0" "enable" "false"
                ucidef_set_interface_lan "eth0"
                ;;
        samsung,cy-swr1100)