diff options
Diffstat (limited to 'target/linux/kirkwood/base-files/lib')
-rw-r--r-- | target/linux/kirkwood/base-files/lib/upgrade/platform.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh index f75acb0..b28ee87 100644 --- a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh +++ b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh @@ -1,11 +1,9 @@ -. /lib/kirkwood.sh - RAMFS_COPY_BIN='fw_printenv fw_setenv' RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock' platform_check_image() { [ "$#" -gt 1 ] && return 1 - local board="$(kirkwood_board_name)" + local board="$(board_name)" local magic="$(get_magic_long "$1")" case "$board" in @@ -28,7 +26,7 @@ platform_check_image() { } platform_do_upgrade() { - local board="$(kirkwood_board_name)" + local board="$(board_name)" case "$board" in "linksys-audi"|\ |