summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/upgrade/platform.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/lantiq/base-files/lib/upgrade/platform.sh b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
index d4db8d2..9158fa7 100755
--- a/target/linux/lantiq/base-files/lib/upgrade/platform.sh
+++ b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
@@ -1,5 +1,3 @@
-. /lib/functions/lantiq.sh
-
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
@@ -8,7 +6,7 @@ platform_check_image() {
}
platform_pre_upgrade() {
- local board=$(lantiq_board_name)
+ local board=$(board_name)
case "$board" in
BTHOMEHUBV2B|BTHOMEHUBV3A|BTHOMEHUBV5A|P2812HNUF* )