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:41 -0400
commitba581f076acc3068c37bd86c97656bf53b29781b (patch)
tree367a281a0dd8568e222314249b111bdd3f26d12b /usr/local/www/widgets
parenta35c1cdfa3fe73a14fde5994de65addb632ed9af (diff)
downloadpfsense-ba581f076acc3068c37bd86c97656bf53b29781b.zip
pfsense-ba581f076acc3068c37bd86c97656bf53b29781b.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 abbd826..e3db6c4 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