From: Rafał Miłecki Date: Fri, 2 Oct 2015 06:03:13 +0000 (+0000) Subject: procd: make nand_do_platform_check check image only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b;p=openwrt%2Fstaging%2Fansuel.git 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 Acked-by: John Crispin SVN-Revision: 47079 --- diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh index 0ed1b632d5..3b1c749727 100644 --- a/package/system/procd/files/nand.sh +++ b/package/system/procd/files/nand.sh @@ -348,9 +348,6 @@ nand_do_platform_check() { return 1 } - echo -n $2 > /tmp/sysupgrade-nand-path - cp /sbin/upgraded /tmp/ - return 0 }