projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix sysupgrade support for brcm-2.4 and brcm47xx
[openwrt-10.03/.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86/base-files/lib/upgrade/platform.sh
b/target/linux/x86/base-files/lib/upgrade/platform.sh
index ffd0b93ab47ddf572e1019703c55ae17d1febf35..6bae07b0132f96562dba00df4cb95d9fcd613b5b 100644
(file)
--- a/
target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86/base-files/lib/upgrade/platform.sh
@@
-1,8
+1,10
@@
+USE_REFRESH=1
+
platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
-
48eb
) return 0;;
+
eb48
) return 0;;
*)
echo "Invalid image type"
return 1