procd: make nand_do_platform_check check image only

Recently all targets have been updated to call nand_do_upgrade directly.
It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark
during image check.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47079
This commit is contained in:
Rafał Miłecki 2015-10-02 06:03:13 +00:00
parent 7ac91a91b3
commit a24f7305cc

View File

@ -348,9 +348,6 @@ nand_do_platform_check() {
return 1
}
echo -n $2 > /tmp/sysupgrade-nand-path
cp /sbin/upgraded /tmp/
return 0
}