Changeset 45667


Ignore:
Timestamp:
2015-05-10T15:54:25+02:00 (3 years ago)
Author:
nbd
Message:

ar71xx: add platform_pre_upgrade for sysupgrade

Signed-off-by: Rafał Miłecki <zajec5@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r45588 r45667  
    449449} 
    450450 
     451platform_pre_upgrade() { 
     452        local board=$(ar71xx_board_name) 
     453 
     454        case "$board" in 
     455        nbg6716 | \ 
     456        r6100 | \ 
     457        wndr3700v4 | \ 
     458        wndr4300 ) 
     459                nand_do_upgrade "$1" 
     460                ;; 
     461        esac 
     462} 
     463 
    451464platform_do_upgrade() { 
    452465        local board=$(ar71xx_board_name) 
Note: See TracChangeset for help on using the changeset viewer.