mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-26 16:42:47 +00:00
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>
This commit is contained in:
parent
e1d57d4d43
commit
82bec3364d
@ -73,6 +73,10 @@ set_state() {
|
||||
status_led_blink_preinit_regular
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
status_led_blink_preinit_regular
|
||||
;;
|
||||
|
||||
done)
|
||||
status_led_on
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user