projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73538b
)
base-files: add an ugly hack for nand to sysupgrade
author
John Crispin
<john@openwrt.org>
Wed, 11 Jun 2014 12:59:37 +0000
(12:59 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 11 Jun 2014 12:59:37 +0000
(12:59 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41126
package/base-files/files/sbin/sysupgrade
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index cd224c633a968590cc6ef05e28d8df3d7acb32ea..80fbfffa50a92048a89f8bf06c059ad36d9fab27 100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-126,6
+126,8
@@
sysupgrade_image_check="platform_check_image"
include /lib/upgrade
+[ "$1" = "nand" ] && nand_do_upgrade $@
+
do_save_conffiles() {
local conf_tar="${1:-$CONF_TAR}"