mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly show the console upgrade notice and exit.
This commit is contained in:
parent
654d9c3a46
commit
e8be632bef
@ -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)): ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user