mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
20 lines
300 B
Bash
20 lines
300 B
Bash
|
PART_NAME=firmware
|
||
|
REQUIRE_IMAGE_METADATA=1
|
||
|
|
||
|
RAMFS_COPY_BIN='fw_printenv fw_setenv'
|
||
|
RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
|
||
|
|
||
|
platform_check_image() {
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
platform_do_upgrade() {
|
||
|
local board=$(board_name)
|
||
|
|
||
|
case "$board" in
|
||
|
*)
|
||
|
default_do_upgrade "$1"
|
||
|
;;
|
||
|
esac
|
||
|
}
|