procd: make nand_do_platform_check check image only
authorRafał Miłecki <zajec5@gmail.com>
Fri, 2 Oct 2015 06:03:13 +0000 (06:03 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Fri, 2 Oct 2015 06:03:13 +0000 (06:03 +0000)
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

package/system/procd/files/nand.sh

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