aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-09-22 00:38:38 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-29 17:23:11 +0200
commit2a926b1a0ad38d49198e0b272aa3283a618dd603 (patch)
treef039023cc99e425147b68cff4996ee852da02e73 /target
parent63a7cf67912a9fa7ad4790a13e88aad8c3fb3ba9 (diff)
downloadupstream-2a926b1a0ad38d49198e0b272aa3283a618dd603.tar.gz
upstream-2a926b1a0ad38d49198e0b272aa3283a618dd603.tar.bz2
upstream-2a926b1a0ad38d49198e0b272aa3283a618dd603.zip
apm821xx: remove wd, mybooklive-duo leftovers
The unification of the My Book Live Single and duo image in commit 9b47aa93c76b ("apm821xx: unify My Book Live Single + Duo images") made the wd,mybooklive-duo obsolete in most places and can be removed. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/board.d/01_leds3
-rw-r--r--target/linux/apm821xx/base-files/lib/preinit/79_move_config3
-rwxr-xr-xtarget/linux/apm821xx/base-files/lib/upgrade/platform.sh6
3 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index c218efa49b..8ba57bdf06 100755
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -23,8 +23,7 @@ meraki,mx60)
ucidef_set_led_switch "lan4" "LAN4" "mx60:green:lan4" "switch0" "0x02"
;;
-wd,mybooklive|\
-wd,mybooklive-duo)
+wd,mybooklive)
ucidef_set_led_ide "sata" "SATA" "mbl:blue:power"
;;
diff --git a/target/linux/apm821xx/base-files/lib/preinit/79_move_config b/target/linux/apm821xx/base-files/lib/preinit/79_move_config
index 5d33feb916..cb5e5c759d 100644
--- a/target/linux/apm821xx/base-files/lib/preinit/79_move_config
+++ b/target/linux/apm821xx/base-files/lib/preinit/79_move_config
@@ -6,8 +6,7 @@ move_config() {
. /lib/functions.sh
case "$(board_name)" in
- wd,mybooklive|\
- wd,mybooklive-duo)
+ wd,mybooklive)
if [ -b $BOOTPART ]; then
mkdir -p /boot
mount -t ext4 -o rw,noatime $BOOTPART /boot
diff --git a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
index ced8ce197a..fa0aa38014 100755
--- a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
@@ -7,8 +7,7 @@ platform_check_image() {
local board=$(board_name)
case "$board" in
- wd,mybooklive|\
- wd,mybooklive-duo)
+ wd,mybooklive)
mbl_do_platform_check "$1"
return $?;
;;
@@ -22,8 +21,7 @@ platform_do_upgrade() {
local board=$(board_name)
case "$board" in
- wd,mybooklive|\
- wd,mybooklive-duo)
+ wd,mybooklive)
mbl_do_upgrade "$ARGV"
;;
meraki,mr24|\