ramips: remove set_wifi_led function in 01_leds
[openwrt/openwrt.git] / target / linux / ramips / rt3883 / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2
3 . /lib/functions/leds.sh
4 . /lib/functions/uci-defaults.sh
5
6 board=$(board_name)
7
8 board_config_update
9
10 case $board in
11 belkin,f9k1109v1)
12 ucidef_set_led_netdev "lan" "lan" "blue:wps" "eth0"
13 ;;
14 edimax,br-6475nd)
15 ucidef_set_led_netdev "wifi_led" "wifi" "amber:wlan" "wlan0"
16 ;;
17 omnima,hpm)
18 ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
19 ucidef_set_led_netdev "wifi_led" "wifi" "green:wifi" "wlan0"
20 ;;
21 esac
22
23 board_config_flush
24
25 exit 0