From: Daniel Golle Date: Mon, 5 Nov 2018 18:04:48 +0000 (+0100) Subject: oxnas: remove superseded sysupgrade image check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=217fe505b6d726b07a504a06d00d1c4d835cf71b;p=openwrt%2Fstaging%2Fynezz.git oxnas: remove superseded sysupgrade image check Signed-off-by: Daniel Golle --- diff --git a/target/linux/oxnas/base-files/lib/upgrade/platform.sh b/target/linux/oxnas/base-files/lib/upgrade/platform.sh index 059d75f9a9..9e8a94b501 100644 --- a/target/linux/oxnas/base-files/lib/upgrade/platform.sh +++ b/target/linux/oxnas/base-files/lib/upgrade/platform.sh @@ -1,16 +1,7 @@ -# -# Copyright (C) 2014 OpenWrt.org -# - REQUIRE_IMAGE_METADATA=1 platform_check_image() { - local board=$(board_name) - - [ "$ARGC" -gt 1 ] && return 1 - - nand_do_platform_check $board $1 - return $? + return 0 } platform_do_upgrade() {