aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/oxnas/base-files/lib')
-rw-r--r--target/linux/oxnas/base-files/lib/upgrade/platform.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/oxnas/base-files/lib/upgrade/platform.sh b/target/linux/oxnas/base-files/lib/upgrade/platform.sh
index 48c1dc3f84..6652e14f19 100644
--- a/target/linux/oxnas/base-files/lib/upgrade/platform.sh
+++ b/target/linux/oxnas/base-files/lib/upgrade/platform.sh
@@ -2,13 +2,10 @@
# Copyright (C) 2014 OpenWrt.org
#
-. /lib/oxnas.sh
-
-RAMFS_COPY_DATA=/lib/oxnas.sh
REQUIRE_IMAGE_METADATA=1
platform_check_image() {
- local board=$(oxnas_board_name)
+ local board=$(board_name)
[ "$ARGC" -gt 1 ] && return 1