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: Fix Linksys upgrade, restore config step
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ipq806x
/
base-files
/
lib
/
upgrade
/
linksys.sh
diff --git
a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
index 5f883637da58db39dda21bad817a46e115f5c85f..b0ad1b43be6e712fed4a1402c82340ae91e5a36f 100644
(file)
--- 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