mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Fix dmidecode data parsing
This commit is contained in:
parent
b138cbe000
commit
b701e07bd8
2 changed files with 3 additions and 3 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue