diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-11-29 17:17:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-11-29 17:17:13 +0000 |
commit | e8be632befd60c18287a3835dae88e04bd3d7423 (patch) | |
tree | f57c613125855f63a264f2ab0f3b3c7451798e1e /usr/local | |
parent | 654d9c3a46e9c899d6da39d7220bf162eb1ed3ee (diff) | |
download | pfsense-e8be632befd60c18287a3835dae88e04bd3d7423.zip pfsense-e8be632befd60c18287a3835dae88e04bd3d7423.tar.gz |
Correctly show the console upgrade notice and exit.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_firmware.php | 5 |
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 "Upgrade firmware" 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)): ?> |