oxnas: remove superseded sysupgrade image check
authorDaniel Golle <daniel@makrotopia.org>
Mon, 5 Nov 2018 18:04:48 +0000 (19:04 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 8 Nov 2018 13:41:42 +0000 (14:41 +0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/oxnas/base-files/lib/upgrade/platform.sh

index 059d75f9a90d94723c564c2a41a45509ccba1e16..9e8a94b5014d30ff44dca12cd39587939c286fa7 100644 (file)
@@ -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() {