mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make dashboard update check respect nanobsd-vga, probably fixes #3078
This commit is contained in:
parent
c2bf84a18b
commit
6efe0caeb3
@ -47,7 +47,11 @@ if($_REQUEST['getupdatestatus']) {
|
||||
|
||||
$nanosize = "";
|
||||
if ($g['platform'] == "nanobsd") {
|
||||
$nanosize = "-nanobsd-" . strtolower(trim(file_get_contents("/etc/nanosize.txt")));
|
||||
if (file_exists("/etc/nano_use_vga.txt"))
|
||||
$nanosize = "-nanobsd-vga-";
|
||||
else
|
||||
$nanosize = "-nanobsd-";
|
||||
$nanosize .= strtolower(trim(file_get_contents("/etc/nanosize.txt")));
|
||||
}
|
||||
|
||||
@unlink("/tmp/{$g['product_name']}_version");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user