projects
/
openwrt
/
staging
/
jow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sunxi: add support for FriendlyARM NanoPi R1S H5
[openwrt/staging/jow.git]
/
target
/
linux
/
sunxi
/
base-files
/
etc
/
board.d
/
01_leds
1
2
. /lib/functions/uci-defaults.sh
3
4
board=$(board_name)
5
boardname="${board##*,}"
6
7
board_config_update
8
9
case $board in
10
friendlyarm,nanopi-r1|\
11
friendlyarm,nanopi-r1s-h5)
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