Browse Source

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 <[email protected]>
Acked-by: John Crispin <[email protected]>

SVN-Revision: 47079
Rafał Miłecki 10 years ago
parent
commit
a24f7305cc
1 changed files with 0 additions and 3 deletions
  1. 0 3
      package/system/procd/files/nand.sh

+ 0 - 3
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
 }