3 .
/lib
/functions
/uci-defaults-new.sh
7 ucidef_set_led_usbdev
"usb" "USB" "$1" "1-1"
11 ucidef_set_led_netdev
"wifi_led" "wifi" "$1" "wlan0"
15 board
=$
(ramips_board_name
)
21 set_wifi_led
"edimax:amber:wlan"
22 set_usb_led
"edimax:blue:3g"
25 set_wifi_led
"edimax:green:wlan"
29 set_usb_led
"tenda:blue:3g"
32 ucidef_set_led_netdev
"wan" "wan" "aigale:blue:wan" "eth0.2"
33 set_wifi_led
"aigale:blue:wlan"
36 ucidef_set_led_default
"power" "POWER" "a5-v11:red:power" "1"
39 set_wifi_led
"airlive:green:wlan"
40 set_usb_led
"airlive:green:mobile"
43 ucidef_set_rssimon
"wlan0" "40000" "1"
44 ucidef_set_led_rssi
"rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
45 ucidef_set_led_rssi
"rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
46 ucidef_set_led_rssi
"rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
47 set_wifi_led
"rt2800pci-phy0::radio"
52 set_wifi_led
"rt2800soc-phy0::radio"
55 ucidef_set_led_default
"power" "POWER" "asl26555:green:power" "1"
56 ucidef_set_led_netdev
"eth" "ETH" "asl26555:green:eth" "eth0"
57 set_wifi_led
"asl26555:green:wlan"
58 set_usb_led
"asl26555:green:3g"
61 set_usb_led
"bc2:blue:usb"
64 set_wifi_led
"edimax:orange:wlan"
67 set_wifi_led
"edimax:amber:wlan"
70 set_usb_led
"red:diskmounted"
71 set_wifi_led
"red:wps_active"
74 set_wifi_led
"edimax:blue:wlan"
77 ucidef_set_led_netdev
"lan" "lan" "comfast:white:ethernet" eth0.1
78 set_wifi_led
"comfast:white:wifi"
81 ucidef_set_led_default
"wps" "WPS" "samsung:blue:wps" "0"
82 set_usb_led
"samsung:blue:usb"
85 ucidef_set_led_default
"power" "POWER" "d105:red:power" "1"
86 set_usb_led
"d105:green:usb"
89 ucidef_set_led_default
"power" "POWER" "d-link:red:power" "1"
90 ucidef_set_led_netdev
"wifi" "WiFi" "d-link:blue:wps"
96 # ANDed with vlan switch port 4 led state
97 ucidef_set_led_default
"wan" "WAN LED (amber)" "d-link:amber:wan" "1"
98 set_wifi_led
"rt2800pci-phy0::radio"
102 ucidef_set_led_default
"status" "Status LED (amber)" "d-link:amber:status" "0"
103 set_wifi_led
"rt2800pci-phy0::radio"
106 set_wifi_led
"d-link:green:wifi"
109 ucidef_set_led_default
"power" "POWER" "d-link:green:power" "1"
115 set_wifi_led
"rt2800pci-phy0::radio"
118 set_usb_led
"f5d8235-v1:blue:storage"
121 set_usb_led
"f5d8235v2:blue:storage"
124 set_usb_led
"fonera20n:orange:usb"
125 set_wifi_led
"fonera20n:orange:wifi"
128 set_wifi_led
"rt2800pci-phy0::radio"
131 ucidef_set_led_netdev
"eth" "Ethernet" "ht-tm02:green:lan" "eth0"
132 set_wifi_led
"ht-tm02:blue:wlan"
136 set_usb_led
"hw550-3g:green:usb"
140 set_wifi_led
"kingston:blue:wifi"
141 ucidef_set_led_default
"system" "system" "kingston:blue:system" "1"
144 set_usb_led
"mofi3500-3gn:green:usb"
147 set_wifi_led
"hame:blue:system"
150 set_wifi_led
"hame:blue:system"
153 set_wifi_led
"mr-102n:green:wlan"
154 set_usb_led
"mr-102n:green:usb"
157 set_wifi_led
"mzkw300nh2:amber:wlan"
160 set_usb_led
"na930:blue:status"
163 set_usb_led
"nw718:amber:usb"
166 set_wifi_led
"m2m:blue:wifi"
167 ucidef_set_led_netdev
"eth" "Ethernet" "m2m:green:wan" "eth0"
170 ucidef_set_led_default
"power" "POWER" "emb:orange:power" "1"
171 ucidef_set_led_netdev
"eth" "ETH" "emb:green:eth" "eth0"
172 set_wifi_led
"emb:green:wifi"
175 set_wifi_led
"miniplug:green:wlan"
176 set_usb_led
"miniplug:green:mobile"
179 set_wifi_led
"7links:orange:wifi"
180 set_usb_led
"7links:blue:storage"
183 ucidef_set_led_netdev
"internet" "internet" "pbr-m1:green:internet" "eth0.2"
184 ucidef_set_led_default
"power" "power" "pbr-m1:green:power" "1"
185 ucidef_set_led_default
"sys" "sys" "pbr-m1:green:sys" "1"
188 set_wifi_led
"rt2800pci-phy0::radio"
191 set_wifi_led
"rt2800pci-phy0::radio"
194 ucidef_set_led_netdev
"eth" "ETH" "vocore:orange:eth" "eth0"
195 set_wifi_led
"vocore:green:status"
198 set_wifi_led
"rt2800pci-phy0::radio"
201 set_usb_led
"alfa:blue:usb"
202 set_wifi_led
"rt2800pci-phy0::radio"
205 set_usb_led
"wcr150gn:amber:user"
208 set_wifi_led
"hg255d:wlan"
209 set_usb_led
"hg255d:usb"
210 ucidef_set_led_interface
"lan" "hg255d:internet"
213 set_wifi_led
"netgear:green:wlan"
216 ucidef_set_led_default
"power" "power" "asus:blue:power" "1"
217 ucidef_set_led_netdev
"lan" "lan" "asus:blue:lan" eth0.1
218 ucidef_set_led_netdev
"wan" "wan" "asus:blue:wan" eth0.2
219 set_wifi_led
"asus:blue:air"
220 set_usb_led
"asus:blue:usb"
223 ucidef_set_led_netdev
"eth" "Network" "asus:white:back" "eth0"
224 set_wifi_led
"asus:blue:wifi"
229 ucidef_set_led_default
"power" "power" "buffalo:green:power" "1"
230 ucidef_set_led_default
"router" "router" "buffalo:green:router" "1"
233 ucidef_set_led_default
"power" "power" "zbtlink:blue:power" "1"
234 set_wifi_led
"zbtlink:blue:air"
235 set_usb_led
"zbtlink:blue:usb"
238 ucidef_set_led_default
"power" "power" "wr8305rt:sys" "1"
239 set_usb_led
"wr8305rt:usb"
240 set_wifi_led
"wr8305rt:wifi"
243 set_wifi_led
"rt2800pci-phy0::radio"
246 ucidef_set_led_default
"power" "power" "nexx:blue:power" "0"
249 ucidef_set_led_default
"power" "power" "xiaomi:red:status" "1"
253 ucidef_set_led_default
"power" "power" "lenovo:blue:power" "1"
254 set_usb_led
"lenovo:blue:usb"
255 set_wifi_led
"lenovo:blue:wifi"
258 set_wifi_led
"zte:blue:status"