aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-12-14 19:15:21 +0100
committerDavid Bauer <mail@david-bauer.net>2019-12-16 00:51:01 +0100
commit9e1e4324690ecf3874acfab76566e856f133bf6f (patch)
treef71f5ff7ed85d0d3e99237458c7a23359096d55a /target/linux/ar71xx/base-files
parent6ec288a178de37c30831398f5a470fdc43b18130 (diff)
downloadupstream-9e1e4324690ecf3874acfab76566e856f133bf6f.tar.gz
upstream-9e1e4324690ecf3874acfab76566e856f133bf6f.tar.bz2
upstream-9e1e4324690ecf3874acfab76566e856f133bf6f.zip
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 <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
1 files changed, 3 insertions, 0 deletions
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