diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 14:27:12 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 14:27:12 -0500 |
commit | 2646434bf906d1281cab795d41b2926d579e8427 (patch) | |
tree | 28de3ab78424205d5759e9ae3f7d87c054c64c73 /usr | |
parent | c22632db6584b1dd9b2cc7b83b28c350de51ef97 (diff) | |
download | pfsense-2646434bf906d1281cab795d41b2926d579e8427.zip pfsense-2646434bf906d1281cab795d41b2926d579e8427.tar.gz |
Set status field to upgrade in progtress during upgrade
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 6 |
1 files 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.")); |