mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
procd: add helper for starting NAND sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45339
This commit is contained in:
parent
5d8f9e03f1
commit
093c341473
@ -353,3 +353,12 @@ nand_do_platform_check() {
|
|||||||
|
|
||||||
return 0
|
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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user