From: Jo-Philipp Wich Date: Tue, 23 Oct 2012 16:34:00 +0000 (+0000) Subject: x86: allow both old and new grub signatures in sysupgrade X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=d9abff3fe7ffbcace0657083723ba94c03bc77be;p=15.05%2Fopenwrt.git 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 --- diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index d25f3d4ad0..dd94db0694 100644 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh @@ -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