From 2646434bf906d1281cab795d41b2926d579e8427 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 5 Jan 2011 14:27:12 -0500 Subject: Set status field to upgrade in progtress during upgrade --- usr/local/www/system_firmware_auto.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index d317b81..b092370 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -206,10 +206,12 @@ if ($sigchk == 1) { if ($exitstatus) { update_status($sig_warning); update_output_window(gettext("Update cannot continue")); - require("fend.inc"); + require("fend.inc"); exit; -} else if ($sigchk == 2) +} else if ($sigchk == 2) { + update_status("Upgrade in progress..."); update_output_window("\n" . gettext("Image has no signature but the system configured to allow unsigned images.") . "\n"); +} if (!verify_gzip_file("{$g['upload_path']}/latest.tgz")) { update_status(gettext("The image file is corrupt.")); -- cgit v1.1