mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Disable firmware upgrade for embedded and cdrom and suggest using the console option to upgrade.
Ticket #1433
This commit is contained in:
parent
5c973509cf
commit
4888535bab
@ -173,6 +173,10 @@ print_info_box($sig_warning);
|
||||
upload" below, then choose the image file (<?=$g['platform'];?>-*.tgz)
|
||||
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;
|
||||
<?php endif; ?>
|
||||
<?php if (!file_exists($d_sysrebootreqd_path)): ?>
|
||||
<?php if (!file_exists($d_fwupenabled_path)): ?>
|
||||
<input name="Submit" type="submit" class="formbtn" value="Enable firmware upload">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user