aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorChris Blake <chrisrblake93@gmail.com>2021-06-09 07:23:11 -0500
committerDavid Bauer <mail@david-bauer.net>2021-06-10 10:34:44 +0200
commit82bec3364de557eb21ef85e1993468ba535e540b (patch)
tree7e4be05097018fb05e4aed051fe701217945f6a0 /target/linux/x86
parente1d57d4d4349efaa0d0cb4246456d1433b71ce7e (diff)
downloadupstream-82bec3364de557eb21ef85e1993468ba535e540b.tar.gz
upstream-82bec3364de557eb21ef85e1993468ba535e540b.tar.bz2
upstream-82bec3364de557eb21ef85e1993468ba535e540b.zip
x86: add upgrade support to diag.sh
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 <chrisrblake93@gmail.com>
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/base-files/etc/diag.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/etc/diag.sh b/target/linux/x86/base-files/etc/diag.sh
index d043e4f035..303dcbcdea 100644
--- 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
;;