diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-17 16:21:30 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 14:54:44 +0100 |
commit | 8be5b12ea10687455d61a3d98ad5ff41e751af12 (patch) | |
tree | 8f5346129e9aa0efa28c56346d15b9b65b2bb001 /target/linux/lantiq/base-files/lib/upgrade/platform.sh | |
parent | 0f0d742ae35523d300667c7a39874fd4fcfdde89 (diff) | |
download | mtk-20170518-8be5b12ea10687455d61a3d98ad5ff41e751af12.zip mtk-20170518-8be5b12ea10687455d61a3d98ad5ff41e751af12.tar.gz mtk-20170518-8be5b12ea10687455d61a3d98ad5ff41e751af12.tar.bz2 |
lantiq: remove lantiq_board_name, use the generic function instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 7e798dab56546d6f8e2fe0f913ff41e8f010af51)
Diffstat (limited to 'target/linux/lantiq/base-files/lib/upgrade/platform.sh')
-rwxr-xr-x | target/linux/lantiq/base-files/lib/upgrade/platform.sh | 4 |
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* ) |