projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sunxi: fix board.d/01_leds permissions and drop include
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
sunxi
/
base-files
/
etc
/
board.d
/
01_leds
1
#!/bin/sh
2
3
.
/
lib
/
function
s
/
uci-defaults.sh
4
5
board
=
$
(
board_name
)
6
boardname
=
"
${board##*,}
"
7
8
board_config_update
9
10
case
$board
in
11
friendlyarm
,
nanopi-r1
)
12
ucidef_set_led_netdev
"wan"
"WAN"
"nanopi:green:wan"
"eth0"
13
ucidef_set_led_netdev
"lan"
"LAN"
"nanopi:green:lan"
"eth1"
14
;;
15
esac
16
17
board_config_flush
18
19
exit
0