From: Rafał Miłecki <zajec5@gmail.com>
Date: Tue, 17 Nov 2015 07:26:12 +0000 (+0000)
Subject: procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks
X-Git-Tag: reboot~1538
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0d5915d2fed75784d4a0ff315d3afe4d4d1a7904;p=openwrt%2Fstaging%2Fjogo.git

procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks

Now we have all targets using platform_pre_upgrade (and calling
nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in
sysupgrade_pre_upgrade hooks anymore.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47489
---

diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh
index 3b1c749727..0c179cbb03 100644
--- a/package/system/procd/files/nand.sh
+++ b/package/system/procd/files/nand.sh
@@ -322,7 +322,6 @@ nand_upgrade_stage1() {
 		exit 0
 	}
 }
-append sysupgrade_pre_upgrade nand_upgrade_stage1
 
 # Check if passed file is a valid one for NAND sysupgrade. Currently it accepts
 # 3 types of files: