projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipq806x: add support for indicating the boot and upgrade state using four leds
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ipq806x
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 7726abb91fb4a3dbb4cc94d9c3d346e35f03b9dd..87689306531accb13114e742db873bfdc5de93c2 100644
(file)
--- a/
target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@
-59,3
+59,9
@@
platform_do_upgrade() {
;;
esac
}
+
+blink_led() {
+ . /etc/diag.sh; set_state upgrade
+}
+
+append sysupgrade_pre_upgrade blink_led