From: David Bauer Date: Sat, 14 Dec 2019 18:15:21 +0000 (+0100) Subject: ar71xx: indicate upgrade using system LED X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e1e4324690ecf3874acfab76566e856f133bf6f;p=openwrt%2Fstaging%2Fldir.git ar71xx: indicate upgrade using system LED This enables the system LED to indicate a running firmware upgrade. This pattern is used on most platforms provided by the generic base-files package. ar71xx uses it's own implementation for the system-LED, where the upgrade case is not yet implemented. Signed-off-by: David Bauer --- diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 8ff75627a5..c5fe5bdcc1 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -575,6 +575,9 @@ set_state() { preinit_regular) status_led_blink_preinit_regular ;; + upgrade) + status_led_blink_preinit_regular + ;; done) status_led_on case $(board_name) in