From: John Crispin Date: Wed, 11 Jun 2014 12:59:37 +0000 (+0000) Subject: base-files: add an ugly hack for nand to sysupgrade X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c43d614f896685e98c5f470015f9ba9176c9b601;p=openwrt%2Fstaging%2Fkaloz.git base-files: add an ugly hack for nand to sysupgrade Signed-off-by: John Crispin SVN-Revision: 41126 --- diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index cd224c633a..80fbfffa50 100755 --- 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}"