projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321c5f3
)
procd: add helper for starting NAND sysupgrade
author
John Crispin
<blogic@openwrt.org>
Thu, 9 Apr 2015 14:33:11 +0000
(14:33 +0000)
committer
John Crispin
<blogic@openwrt.org>
Thu, 9 Apr 2015 14:33:11 +0000
(14:33 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/system/procd/files/nand.sh
patch
|
blob
|
history
diff --git
a/package/system/procd/files/nand.sh
b/package/system/procd/files/nand.sh
index
7fb9343
..
0ed1b63
100644
(file)
--- a/
package/system/procd/files/nand.sh
+++ b/
package/system/procd/files/nand.sh
@@
-353,3
+353,12
@@
nand_do_platform_check() {
return 0
}
+
+# Start NAND upgrade process
+#
+# $(1): file to be used for upgrade
+nand_do_upgrade() {
+ echo -n $1 > /tmp/sysupgrade-nand-path
+ cp /sbin/upgraded /tmp/
+ nand_upgrade_stage1
+}