apm821xx: remove wd, mybooklive-duo leftovers
The unification of the My Book Live Single and duo image in
commit 9b47aa93c7
("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>
This commit is contained in:
parent
63a7cf6791
commit
2a926b1a0a
3 changed files with 4 additions and 8 deletions
|
@ -23,8 +23,7 @@ meraki,mx60)
|
||||||
ucidef_set_led_switch "lan4" "LAN4" "mx60:green:lan4" "switch0" "0x02"
|
ucidef_set_led_switch "lan4" "LAN4" "mx60:green:lan4" "switch0" "0x02"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
wd,mybooklive|\
|
wd,mybooklive)
|
||||||
wd,mybooklive-duo)
|
|
||||||
ucidef_set_led_ide "sata" "SATA" "mbl:blue:power"
|
ucidef_set_led_ide "sata" "SATA" "mbl:blue:power"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,7 @@ move_config() {
|
||||||
. /lib/functions.sh
|
. /lib/functions.sh
|
||||||
|
|
||||||
case "$(board_name)" in
|
case "$(board_name)" in
|
||||||
wd,mybooklive|\
|
wd,mybooklive)
|
||||||
wd,mybooklive-duo)
|
|
||||||
if [ -b $BOOTPART ]; then
|
if [ -b $BOOTPART ]; then
|
||||||
mkdir -p /boot
|
mkdir -p /boot
|
||||||
mount -t ext4 -o rw,noatime $BOOTPART /boot
|
mount -t ext4 -o rw,noatime $BOOTPART /boot
|
||||||
|
|
|
@ -7,8 +7,7 @@ platform_check_image() {
|
||||||
local board=$(board_name)
|
local board=$(board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
wd,mybooklive|\
|
wd,mybooklive)
|
||||||
wd,mybooklive-duo)
|
|
||||||
mbl_do_platform_check "$1"
|
mbl_do_platform_check "$1"
|
||||||
return $?;
|
return $?;
|
||||||
;;
|
;;
|
||||||
|
@ -22,8 +21,7 @@ platform_do_upgrade() {
|
||||||
local board=$(board_name)
|
local board=$(board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
wd,mybooklive|\
|
wd,mybooklive)
|
||||||
wd,mybooklive-duo)
|
|
||||||
mbl_do_upgrade "$ARGV"
|
mbl_do_upgrade "$ARGV"
|
||||||
;;
|
;;
|
||||||
meraki,mr24|\
|
meraki,mr24|\
|
||||||
|
|
Loading…
Reference in a new issue