aboutsummaryrefslogtreecommitdiff
path: root/target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds
blob: 74fdef28fb316325b8b0b31d4bcb81ee65cd8d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: GPL-2.0-or-later

. /lib/functions/leds.sh
. /lib/functions/uci-defaults.sh

board_config_update

case "$(board_name)" in
huawei,hg556a-b)
	ucidef_set_led_usbport "usb" "USB" "red:hspa" "1-1-port1" "1-1-port2" "usb1-port2" "usb2-port2"
	;;
esac

board_config_flush

exit 0