forked from Joyist2021/gl-infra-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3006-mvebu-adjust-01-leds.patch
37 lines (31 loc) · 1.09 KB
/
3006-mvebu-adjust-01-leds.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 1592185f17d4f13518d95a24b9289aab374540af Mon Sep 17 00:00:00 2001
From: Weiping Yang <[email protected]>
Date: Sat, 25 Feb 2023 04:16:01 -0500
Subject: [PATCH] mvebu-adjust-01-leds
---
.../linux/mvebu/cortexa53/base-files/etc/board.d/01_leds | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
mode change 100644 => 100755 target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds
diff --git a/target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds b/target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds
old mode 100644
new mode 100755
index 4dce204f14..0f7b53a8dd
--- a/target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds
+++ b/target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds
@@ -1,3 +1,5 @@
+#!/bin/sh
+#
# SPDX-License-Identifier: GPL-2.0-only
. /lib/functions/uci-defaults.sh
@@ -7,8 +9,9 @@ board_config_update
board=$(board_name)
case "$board" in
-glinet,gl-mv1000)
- ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
+glinet,gl-mv1000|\
+gl-mv1000)
+ ucidef_set_led_netdev "wan" "WAN" "gl-mv1000:white:wan" "wan"
;;
esac
--
2.17.1