3 # Copyright (C) 2015 OpenWrt.org
6 . /lib/functions/uci-defaults.sh
11 board=$(ipq806x_board_name)
15 ucidef_set_led_usbport "usb1" "USB 1" "${board}:white:usb_2" "usb1-port1" "usb2-port1"
16 ucidef_set_led_usbport "usb2" "USB 2" "${board}:white:usb_4" "usb3-port1" "usb4-port1"
17 ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
18 ucidef_set_led_netdev "lan" "LAN" "${board}:white:lan" "br-lan"
19 ucidef_set_led_default "general" "general" "${board}:white:ledgnr" "1"
24 ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb1" "1-1"
25 ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb3" "3-1"
26 ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
27 ucidef_set_led_ide "esata" "eSATA" "${board}:amber:esata"
28 ucidef_set_led_default "wps" "WPS" "${board}:white:wps" "0"
29 ucidef_set_led_default "rfkill" "rfkill" "${board}:white:rfkill" "0"
32 ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb1" "2-1"
33 ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb2" "4-1"
34 ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
35 ucidef_set_led_ide "esata" "eSATA" "${board}:white:esata"
36 ucidef_set_led_wlan "wps" "WPS" "${board}:white:wps" "phy0tpt"
37 ucidef_set_led_wlan "rfkill" "rfkill" "${board}:white:rfkill" "phy1tpt"
40 ucidef_set_led_wlan "wifi" "WIFI" "ea8500:green:wifi" "phy0radio"
41 ucidef_set_led_default "wps" "WPS" "ea8500:green:wps" "0"
44 ucidef_set_led_wlan "wlan2g" "WLAN2g" "$board:amber:wifi" "phy1radio"
45 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:amber:wifi5" "phy0radio"
46 ucidef_set_led_netdev "wan" "WAN" "$board:white:internet" "eth1"