mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-06 08:17:06 +08:00

* Revert "rockchip: add support for NanoPi R4S" This reverts commit 6edffa84190641f0acd8e1ae5e73ecd99897d877. * rockchip: move hwRNG driver to files * rockchip: drop hwRNG support for NanoPi R2S * rockchip: enable hwRNG on rk3399 by default * rockchip: enable hwRNG crypto engine in Kconfig * rockchip: sync upstream patch Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
21 lines
343 B
Bash
Executable File
21 lines
343 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /lib/functions/leds.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board=$(board_name)
|
|
boardname="${board##*,}"
|
|
|
|
board_config_update
|
|
|
|
case $board in
|
|
friendlyarm,nanopi-r2s)
|
|
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
|
|
ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|