ar71xx: add platform_pre_upgrade for sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45667
This commit is contained in:
parent
4c5f965c74
commit
b33752051f
1 changed files with 13 additions and 0 deletions
|
@ -448,6 +448,19 @@ platform_check_image() {
|
|||
return 1
|
||||
}
|
||||
|
||||
platform_pre_upgrade() {
|
||||
local board=$(ar71xx_board_name)
|
||||
|
||||
case "$board" in
|
||||
nbg6716 | \
|
||||
r6100 | \
|
||||
wndr3700v4 | \
|
||||
wndr4300 )
|
||||
nand_do_upgrade "$1"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_do_upgrade() {
|
||||
local board=$(ar71xx_board_name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue