summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-16 12:46:34 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-16 12:47:04 -0500
commit8ac2fe8071a51012e21488894d07965603451930 (patch)
treead2a3d56417f77274fc79eed036dfad12cd6ff94 /src/usr/local/www/pkg_mgr_install.php
parent59d256a17cfc9151a3336360f5df72a2056fae01 (diff)
downloadpfsense-8ac2fe8071a51012e21488894d07965603451930.zip
pfsense-8ac2fe8071a51012e21488894d07965603451930.tar.gz
Fixed #5123
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index 5d69c6c..965f730 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -394,7 +394,13 @@ if (!empty($_POST['id']) || $_POST['mode'] == "reinstallall"):
<br />
<div class="panel panel-default">
<div class="panel-heading">
- <h2 class="panel-title" id="status"><?=gettext("Package") . " " . $modetxt?></h2>
+<?php if($firmwareupdate) {
+?>
+ <h2 class="panel-title" id="status"><?=gettext("Updating system firmware")?></h2>
+<?php } else {
+?>
+ <h2 class="panel-title" id="status"><?=gettext("Package") . " " . $modetxt?></h2>
+ <?php } ?>
</div>
<div class="panel-body">
@@ -594,7 +600,9 @@ function startCountdown(time) {
$('#clock').html('<img src="/321.gif" />');
setInterval(function(){
- $('#countdown').html('<h4>Rebooting.<br />Page will reload in ' + time + ' seconds.</h4>');
+ if(time > 0) {
+ $('#countdown').html('<h4>Rebooting.<br />Page will reload in ' + time + ' seconds.</h4>');
+ }
time-- != 0 || (window.location="/index.php");
},1000);
OpenPOWER on IntegriCloud