From 217fe505b6d726b07a504a06d00d1c4d835cf71b Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 5 Nov 2018 19:04:48 +0100 Subject: oxnas: remove superseded sysupgrade image check Signed-off-by: Daniel Golle --- target/linux/oxnas/base-files/lib/upgrade/platform.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'target') 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() { -- cgit v1.2.3