x86: allow both old and new grub signatures in sysupgrade
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Oct 2012 16:34:00 +0000 (16:34 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Oct 2012 16:34:00 +0000 (16:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33898 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/x86/base-files/lib/upgrade/platform.sh

index d25f3d4..dd94db0 100644 (file)
@@ -19,7 +19,7 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$(get_magic_word "$1")" in
-               eb63) return 0;;
+               eb48|eb63) return 0;;
                *)
                        echo "Invalid image type"
                        return 1