3 . /lib/functions/uci-defaults.sh
7 ucidef_set_led_usbdev "usb" "USB" "$1" "1-1"
11 ucidef_set_led_netdev "wifi_led" "wifi" "$1" "wlan0"
14 board=$(ramips_board_name)
18 set_wifi_led "edimax:amber:wlan"
19 set_usb_led "edimax:blue:3g"
22 set_wifi_led "edimax:green:wlan"
25 set_usb_led "tenda:blue:3g"
28 set_wifi_led "airlive:green:wlan"
29 set_usb_led "airlive:green:mobile"
32 ucidef_set_rssimon "wlan0" "40000" "1"
33 ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
34 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
35 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
36 set_wifi_led "rt2800pci-phy0::radio"
39 set_usb_led "bc2:blue:usb"
42 set_wifi_led "edimax:orange:wlan"
45 set_usb_led "red:diskmounted"
46 set_wifi_led "red:wps_active"
49 set_wifi_led "edimax:blue:wlan"
52 ucidef_set_led_default "power" "POWER" "d105:red:power" "1"
53 set_usb_led "d105:green:usb"
59 # ANDed with vlan switch port 4 led state
60 ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1"
61 set_wifi_led "rt2800pci-phy0::radio"
65 ucidef_set_led_default "status" "Status LED (amber)" "d-link:amber:status" "0"
66 set_wifi_led "rt2800pci-phy0::radio"
69 set_wifi_led "rt2800pci-phy0::radio"
72 set_usb_led "f5d8235-v1:blue:storage"
75 set_usb_led "f5d8235v2:blue:storage"
78 set_usb_led "fonera20n:orange:usb"
79 set_wifi_led "fonera20n:orange:wifi"
83 set_usb_led "hw550-3g:green:usb"
86 set_usb_led "mofi3500-3gn:green:usb"
89 set_wifi_led "mzkw300nh2:amber:wlan"
92 set_usb_led "nw718:amber:usb"
95 ucidef_set_led_default "power" "POWER" "emb:orange:power" "1"
96 ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
97 set_wifi_led "emb:green:wifi"
100 set_wifi_led "rt2800pci-phy0::radio"
103 set_wifi_led "rt2800pci-phy0::radio"
106 set_wifi_led "rt2800pci-phy0::radio"
109 set_usb_led "alfa:blue:usb"
110 set_wifi_led "rt2800pci-phy0::radio"
113 set_usb_led "wcr150gn:amber:user"
116 set_wifi_led "netgear:green:wlan"