mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
22 lines
362 B
Plaintext
22 lines
362 B
Plaintext
|
# SPDX-License-Identifier: GPL-2.0-only
|
||
|
#
|
||
|
# Copyright (C) 2022 OpenWrt.org
|
||
|
#
|
||
|
|
||
|
. /lib/functions/uci-defaults.sh
|
||
|
|
||
|
board_config_update
|
||
|
|
||
|
case "$(board_name)" in
|
||
|
sifive,hifive-unleashed-a00)
|
||
|
ucidef_set_led_netdev "lan" "LAN" "green:d3" "eth0"
|
||
|
;;
|
||
|
sifive,hifive-unmatched-a00)
|
||
|
ucidef_set_led_netdev "lan" "LAN" "green:d2" "eth0"
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
board_config_flush
|
||
|
|
||
|
exit 0
|