summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-07-07 11:43:47 -0400
committerjim-p <jimp@pfsense.org>2013-07-07 11:45:30 -0400
commit6efe0caeb3b2ec8ae39ce35aa0663ffa7501a146 (patch)
treeb06f8fcd17b6f2a75ed62e1fbdc857b6ccf3b0bd /usr/local/www/widgets
parentc2bf84a18b3dd092e32b1b5774901b2888d851a0 (diff)
downloadpfsense-6efe0caeb3b2ec8ae39ce35aa0663ffa7501a146.zip
pfsense-6efe0caeb3b2ec8ae39ce35aa0663ffa7501a146.tar.gz
Make dashboard update check respect nanobsd-vga, probably fixes #3078
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index f735ce8..b050b8b 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -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");
OpenPOWER on IntegriCloud