diff options
author | John Crispin <john@openwrt.org> | 2015-11-03 13:32:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-03 13:32:02 +0000 |
commit | 2350c149b57788a11d1a9fbb60f8a91b9fdfe081 (patch) | |
tree | 7d22f5625d13fad96d86a8b53e58c751c7ba9c10 /target/linux/ramips/base-files/lib/upgrade/platform.sh | |
parent | b0d9e644648a4e8cf427ed0ea91ed3d5320a3914 (diff) | |
download | upstream-2350c149b57788a11d1a9fbb60f8a91b9fdfe081.tar.gz upstream-2350c149b57788a11d1a9fbb60f8a91b9fdfe081.tar.bz2 upstream-2350c149b57788a11d1a9fbb60f8a91b9fdfe081.zip |
ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47373
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 3d4b73afb6..0e8d619069 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -203,4 +203,9 @@ disable_watchdog() { } } +blink_led() { + . /etc/diag.sh; set_state upgrade +} + append sysupgrade_pre_upgrade disable_watchdog +append sysupgrade_pre_upgrade blink_led |