diff options
Diffstat (limited to 'target/linux/ath79/nand/base-files/lib')
-rw-r--r-- | target/linux/ath79/nand/base-files/lib/upgrade/platform.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh b/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh new file mode 100644 index 0000000000..b02ab9a080 --- /dev/null +++ b/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh @@ -0,0 +1,20 @@ +# +# Copyright (C) 2011 OpenWrt.org +# + +PART_NAME=firmware +REQUIRE_IMAGE_METADATA=1 + +platform_check_image() { + return 0 +} + +platform_do_upgrade() { + local board=$(board_name) + + case "$board" in + *) + default_do_upgrade "$1" + ;; + esac +} |