ramips: add button support and make LEDs known to userspace for DIR-860L B1
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 01_leds
index 460253c9ff29ee55f1da4073555eab63e7affad6..0e30ba076dfed0dd60fe79aaa8b5984b8151dc3e 100755 (executable)
@@ -136,6 +136,9 @@ mzk-750dhp|\
 mzk-dp150n)
        ucidef_set_led_default "power" "power" "$board:green:power" "1"
        ;;
+dir-860l-b1)
+       ucidef_set_led_netdev "wan" "wan" "$board:green:net" "eth0.2"
+       ;;
 ex2700)
        ucidef_set_led_default "power_r" "POWER (red)" "$board:red:power" "0"
        set_wifi_led "$board:green:router"