diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-06-29 21:13:05 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-06-29 21:13:05 +0000 |
commit | baa9053e7a6047867726db77992a453c1f32a08d (patch) | |
tree | 9438a58468df742f07af10b8a91f6ae49811d4e8 /package/base-files/files/sbin/sysupgrade | |
parent | 115aced5c77eb36252faf4fa6a96cd956f0a0c58 (diff) | |
download | upstream-baa9053e7a6047867726db77992a453c1f32a08d.tar.gz upstream-baa9053e7a6047867726db77992a453c1f32a08d.tar.bz2 upstream-baa9053e7a6047867726db77992a453c1f32a08d.zip |
base-files: Fix sysupgrade .tar.gz configuration restoring
SVN-Revision: 16626
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index f25195a520..fb1e91a668 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -88,7 +88,7 @@ for check in $sysupgrade_image_check; do done if [ -n "$CONF_IMAGE" ]; then - case "$(get_magic_word "$CONF_IMAGE")" in + case "$(get_magic_word $CONF_IMAGE cat)" in # .gz files 1f8b) ;; *) |