mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0cb38941b6
commit
4e04e25a2d
@ -57,11 +57,6 @@ platform_identify() {
|
||||
platform_check_image() {
|
||||
[ "$#" -gt 1 ] && return 1
|
||||
|
||||
[ "$(platform_flash_type)" = "nand" ] && {
|
||||
echo "Firmware upgrade on NAND devices is not implemented."
|
||||
return 1
|
||||
}
|
||||
|
||||
local file_type=$(platform_identify "$1")
|
||||
local magic
|
||||
local error=0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user