2017-07-10 16:37:25 +00:00
|
|
|
RAMFS_COPY_BIN='fw_printenv fw_setenv'
|
2017-07-10 16:16:23 +00:00
|
|
|
RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
|
|
|
|
|
2017-12-28 08:22:45 +00:00
|
|
|
REQUIRE_IMAGE_METADATA=1
|
2015-11-10 00:16:42 +00:00
|
|
|
|
2017-12-28 08:22:45 +00:00
|
|
|
platform_check_image() {
|
2018-01-17 13:03:50 +00:00
|
|
|
return 0
|
2015-11-10 00:16:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
platform_do_upgrade() {
|
2017-05-12 20:36:07 +00:00
|
|
|
local board="$(board_name)"
|
2015-11-10 00:16:42 +00:00
|
|
|
|
|
|
|
case "$board" in
|
2017-12-28 09:18:48 +00:00
|
|
|
"linksys,audi"|\
|
|
|
|
"linksys,viper")
|
2015-11-10 00:16:42 +00:00
|
|
|
platform_do_upgrade_linksys "$ARGV"
|
|
|
|
;;
|
2016-12-30 10:55:16 +00:00
|
|
|
*)
|
2017-07-10 16:16:23 +00:00
|
|
|
nand_do_upgrade "$ARGV"
|
2016-03-14 17:06:09 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|