procd: fix/clean some conditions in nand.sh
1) nand_upgrade_tar: use a simpler condition that matches if () { } logic and fix check of $kernel_length variable 2) nand_do_upgrade_stage2: use case, otherwise one could believe we always call nand_upgrade_tar Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43373v19.07.3_mercusys_ac12_duma
parent
19c18eba93
commit
db69761f94
Loading…
Reference in New Issue