summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-17 11:54:44 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-17 11:54:44 +0000
commitb1df7537469232b413a301e01843d105b53af15f (patch)
treef9e1ffc79a638b0a312f5504c438265150ee2a57 /package/base-files/files/sbin/sysupgrade
parent1a95e5226bdd1aaf110514c374bcdf7d6bcb0d5f (diff)
[package] base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-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 139135e8f..ecc5e9a70 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