summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-17 11:54:44 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-17 11:54:44 +0000
commit06413b783e65e70096561ad52d5a1750677b4f91 (patch)
tree37a348a8c425315c40c7baeccf1b4e8061a4f143 /package/base-files
parentaaa3868c5c2e04d7e7bc1cb35781c9d366087fcf (diff)
downloadmtk-20170518-06413b783e65e70096561ad52d5a1750677b4f91.zip
mtk-20170518-06413b783e65e70096561ad52d5a1750677b4f91.tar.gz
mtk-20170518-06413b783e65e70096561ad52d5a1750677b4f91.tar.bz2
base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons
SVN-Revision: 15890
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 139135e..ecc5e9a 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -9,7 +9,7 @@ export VERBOSE=1
export SAVE_CONFIG=1
export DELAY=
export CONF_IMAGE=
-export GZIPED=
+export GZIPED=0
# parse options
while [ -n "$1" ]; do
case "$1" in
@@ -114,4 +114,4 @@ if [ -n "$(rootfs_type)" ]; then
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
else
do_upgrade
-fi \ No newline at end of file
+fi