summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-11 12:59:37 +0000
committerJohn Crispin <john@openwrt.org>2014-06-11 12:59:37 +0000
commitc43d614f896685e98c5f470015f9ba9176c9b601 (patch)
tree26ee9cbf2f537696e867bcfc1915c3e984c08f95 /package
parente73538ba5631eef97ca4ffc9be369c0a53446ab1 (diff)
downloadmtk-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-xpackage/base-files/files/sbin/sysupgrade2
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}"