Skip to content

Commit

Permalink
x86: add upgrade support to diag.sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
riptidewave93 authored and blocktrron committed Jun 10, 2021
1 parent e1d57d4 commit 82bec33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target/linux/x86/base-files/etc/diag.sh
Expand Up @@ -73,6 +73,10 @@ set_state() {
status_led_blink_preinit_regular
;;

upgrade)
status_led_blink_preinit_regular
;;

done)
status_led_on
;;
Expand Down

0 comments on commit 82bec33

Please sign in to comment.