aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-29 21:13:05 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-29 21:13:05 +0000
commitbaa9053e7a6047867726db77992a453c1f32a08d (patch)
tree9438a58468df742f07af10b8a91f6ae49811d4e8 /package/base-files/files/sbin/sysupgrade
parent115aced5c77eb36252faf4fa6a96cd956f0a0c58 (diff)
downloadupstream-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-xpackage/base-files/files/sbin/sysupgrade2
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) ;;
*)