summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-29 17:17:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-29 17:17:13 +0000
commite8be632befd60c18287a3835dae88e04bd3d7423 (patch)
treef57c613125855f63a264f2ab0f3b3c7451798e1e /usr/local
parent654d9c3a46e9c899d6da39d7220bf162eb1ed3ee (diff)
downloadpfsense-e8be632befd60c18287a3835dae88e04bd3d7423.zip
pfsense-e8be632befd60c18287a3835dae88e04bd3d7423.tar.gz
Correctly show the console upgrade notice and exit.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_firmware.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index e25d177..b667647 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -181,8 +181,9 @@ print_info_box($sig_warning);
to be uploaded.<br>Click &quot;Upgrade firmware&quot;
to start the upgrade process.</p>
<?php if ($g['platform'] == "embedded" or $g['platform'] == "cdrom"): ?>
- echo "This platform cannot be upgraded. Consider using option 13 from the console.";
- exit;
+ This platform cannot be upgraded. Consider using option 13 from the console.
+ <?php include("fend.inc"); ?>
+ <?php exit; ?>
<?php endif; ?>
<?php if (!file_exists($d_sysrebootreqd_path)): ?>
<?php if (!file_exists($d_fwupenabled_path)): ?>
OpenPOWER on IntegriCloud