projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d57d4
)
x86: add upgrade support to diag.sh
author
Chris Blake
<
[email protected]
>
Wed, 9 Jun 2021 12:23:11 +0000
(07:23 -0500)
committer
David Bauer
<
[email protected]
>
Thu, 10 Jun 2021 08:34:44 +0000
(10:34 +0200)
Similar to how this is done in the diag.sh found in the base-files
package, we should blink our status LED (if we have one) during the
upgrade process. This follows the same blink pattern as seen at
./package/base-files/files/etc/diag.sh#L36
Signed-off-by: Chris Blake <
[email protected]
>
target/linux/x86/base-files/etc/diag.sh
patch
|
blob
|
history
diff --git
a/target/linux/x86/base-files/etc/diag.sh
b/target/linux/x86/base-files/etc/diag.sh
index d043e4f03535468cb29d505a532281f951b21209..303dcbcdeac5d19352d32cf64d00bbb5a2805c1a 100644
(file)
--- a/
target/linux/x86/base-files/etc/diag.sh
+++ b/
target/linux/x86/base-files/etc/diag.sh
@@
-73,6
+73,10
@@
set_state() {
status_led_blink_preinit_regular
;;
+ upgrade)
+ status_led_blink_preinit_regular
+ ;;
+
done)
status_led_on
;;