diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-03 13:32:02 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-03 13:32:02 +0000 |
commit | 47b9616ce38edbd6969f226f9b7825d51394b480 (patch) | |
tree | cb29e07cb269bc6b1ce9b4b6e6faf0c0b3a2df0c /target/linux/ramips/base-files/lib | |
parent | 92b95d7747a939af57c2ee30cbce5eb42dea6c47 (diff) | |
download | master-187ad058-47b9616ce38edbd6969f226f9b7825d51394b480.tar.gz master-187ad058-47b9616ce38edbd6969f226f9b7825d51394b480.tar.bz2 master-187ad058-47b9616ce38edbd6969f226f9b7825d51394b480.zip |
ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47373 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-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 |