aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/linksys.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
index 5f883637da..b0ad1b43be 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
@@ -94,7 +94,12 @@ platform_do_upgrade_linksys() {
# complete std upgrade
- nand_upgrade_tar "$1"
+ if nand_upgrade_tar "$1" ; then
+ nand_do_upgrade_success
+ else
+ nand_do_upgrade_failure
+ fi
+
}
[ "$magic_long" = "27051956" ] && {
get_image "$1" | mtd write - $part_label