diff options
author | John Crispin <john@openwrt.org> | 2014-06-11 12:59:37 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-11 12:59:37 +0000 |
commit | c43d614f896685e98c5f470015f9ba9176c9b601 (patch) | |
tree | 26ee9cbf2f537696e867bcfc1915c3e984c08f95 /package | |
parent | e73538ba5631eef97ca4ffc9be369c0a53446ab1 (diff) | |
download | mtk-20170518-c43d614f896685e98c5f470015f9ba9176c9b601.zip mtk-20170518-c43d614f896685e98c5f470015f9ba9176c9b601.tar.gz mtk-20170518-c43d614f896685e98c5f470015f9ba9176c9b601.tar.bz2 |
base-files: add an ugly hack for nand to sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41126
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index cd224c6..80fbfff 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}" |