mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:43:09 +02:00
x86: allow both old and new grub signatures in sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33898 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1c3d05cf73
commit
b134b73b39
@ -19,7 +19,7 @@ platform_check_image() {
|
|||||||
[ "$ARGC" -gt 1 ] && return 1
|
[ "$ARGC" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$(get_magic_word "$1")" in
|
case "$(get_magic_word "$1")" in
|
||||||
eb63) return 0;;
|
eb48|eb63) return 0;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid image type"
|
echo "Invalid image type"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user