diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-11 12:59:37 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-11 12:59:37 +0000 |
commit | 494257f5ab01f15bcf15c6e8f552d0fc26b740d7 (patch) | |
tree | 917af416db056eeedf34e5936909033bb24c0507 /package/base-files/files/sbin | |
parent | ca673771fb936534cffffdfe3bca84ba192ee0e7 (diff) | |
download | upstream-494257f5ab01f15bcf15c6e8f552d0fc26b740d7.tar.gz upstream-494257f5ab01f15bcf15c6e8f552d0fc26b740d7.tar.bz2 upstream-494257f5ab01f15bcf15c6e8f552d0fc26b740d7.zip |
base-files: add an ugly hack for nand to sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41126 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin')
-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 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}" |