summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-10-02 06:03:13 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-10-02 06:03:13 +0000
commita24f7305cc743df0f12dde2fb9f72e0fdbbfe97b (patch)
tree9b4d112c2f1aa35fbd5000ac5aeb02cb3897d139
parent7ac91a91b39e776a2fc7ff9b8f1663445f2855f5 (diff)
downloadmaster-31e0f0ae-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.tar.gz
master-31e0f0ae-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.tar.bz2
master-31e0f0ae-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.zip
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
-rw-r--r--package/system/procd/files/nand.sh3
1 files changed, 0 insertions, 3 deletions
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
}