summaryrefslogtreecommitdiff
path: root/package/system
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 /package/system
parent7ac91a91b39e776a2fc7ff9b8f1663445f2855f5 (diff)
downloadmtk-20170518-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.zip
mtk-20170518-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.tar.gz
mtk-20170518-a24f7305cc743df0f12dde2fb9f72e0fdbbfe97b.tar.bz2
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
Diffstat (limited to 'package/system')
-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 0ed1b63..3b1c749 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
}