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"
55 # ANDed with vlan switch port 4 led state
56 ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1"
57 set_wifi_led "rt2800pci-phy0::radio"
61 ucidef_set_led_default "status" "Status LED (amber)" "d-link:amber:status" "0"
62 set_wifi_led "rt2800pci-phy0::radio"
65 set_wifi_led "rt2800pci-phy0::radio"
68 set_usb_led "f5d8235-v1:blue:storage"
71 set_usb_led "f5d8235v2:blue:storage"
74 set_usb_led "fonera20n:orange:usb"
75 set_wifi_led "fonera20n:orange:wifi"
79 set_usb_led "hw550-3g:green:usb"
82 set_usb_led "mofi3500-3gn:green:usb"
85 set_wifi_led "mzkw300nh2:amber:wlan"
88 set_usb_led "nw718:amber:usb"
91 ucidef_set_led_default "power" "POWER" "emb:orange:power" "1"
92 ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
93 set_wifi_led "emb:green:wifi"
96 set_wifi_led "rt2800pci-phy0::radio"
99 set_wifi_led "rt2800pci-phy0::radio"
102 set_wifi_led "rt2800pci-phy0::radio"
105 set_usb_led "alfa:blue:usb"
106 set_wifi_led "rt2800pci-phy0::radio"
109 set_usb_led "wcr150gn:amber:user"