projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hotplug-preinit: remove superfluous `and`
[openwrt.git]
/
package
/
system
/
procd
/
files
/
nand.sh
diff --git
a/package/system/procd/files/nand.sh
b/package/system/procd/files/nand.sh
index
0c179cb
..
8b0564d
100644
(file)
--- a/
package/system/procd/files/nand.sh
+++ b/
package/system/procd/files/nand.sh
@@
-275,6
+275,10
@@
nand_upgrade_tar() {
nand_do_upgrade_stage2() {
local file_type=$(identify $1)
+ if type 'platform_nand_pre_upgrade' >/dev/null 2>/dev/null; then
+ platform_nand_pre_upgrade "$1"
+ fi
+
[ ! "$(find_mtd_index "$CI_UBIPART")" ] && CI_UBIPART="rootfs"
case "$file_type" in