mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Fix dmidecode data parsing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= dmidecode
|
||||
PLUGIN_VERSION= 1.0
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_COMMENT= Display hardware information on the dashboard
|
||||
PLUGIN_DEPENDS= dmidecode
|
||||
PLUGIN_MAINTAINER= evbevz@gmail.com
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
|
||||
require_once("widgets/include/dmidecode.inc");
|
||||
|
||||
$hardwareData = parse_ini_string(configd_run("dmidecode system"));
|
||||
$biosData = parse_ini_string(configd_run("dmidecode bios"));
|
||||
$hardwareData = parse_ini_string(configd_run("dmidecode system"), FALSE, INI_SCANNER_RAW);
|
||||
$biosData = parse_ini_string(configd_run("dmidecode bios"), FALSE, INI_SCANNER_RAW);
|
||||
|
||||
?>
|
||||
<table class="table table-striped table-condensed">
|
||||
|
||||
Reference in New Issue
Block a user