aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/oxnas/base-files/lib/upgrade/platform.sh11
1 files changed, 1 insertions, 10 deletions
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() {