projects
/
openwrt
/
staging
/
hauke.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: remove option to set WiFi LED via aliases
[openwrt/staging/hauke.git]
/
target
/
linux
/
ramips
/
rt288x
/
base-files
/
etc
/
board.d
/
01_leds
1
#!/bin/sh
2
3
.
/
lib
/
function
s
/
leds.sh
4
.
/
lib
/
function
s
/
uci-defaults.sh
5
6
set_wifi_led
() {
7
ucidef_set_led_netdev
"wifi_led"
"wifi"
"
${1}
"
"
${2:-wlan0}
"
8
}
9
10
board
=
$
(
board_name
)
11
12
board_config_update
13
14
case
$board
in
15
airlink101
,
ar670w|\
16
airlink101
,
ar725w
)
17
set_wifi_led
"rt2800soc-phy0::radio"
18
;;
19
belkin
,
f5d8235-v1
)
20
set_wifi_led
"blue:wireless"
21
;;
22
ralink
,
v11st-fe
)
23
set_wifi_led
"rt2800pci-phy0::radio"
24
;;
25
esac
26
27
board_config_flush
28
29
exit
0