mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
sysutils/dmidecode: this file was new, remove spurious older copyright
This commit is contained in:
parent
e57f1ab9dc
commit
897ad8a807
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019 Smart-Soft
|
||||
* Copyright (C) 2025 Neil Merchant
|
||||
* All rights reserved.
|
||||
*
|
||||
|
|
@ -38,7 +37,6 @@ class ServiceController extends ApiControllerBase
|
|||
{
|
||||
$system = parse_ini_string(trim((new Backend())->configdRun('dmidecode system')), false, INI_SCANNER_RAW);
|
||||
$bios = parse_ini_string(trim((new Backend())->configdRun('dmidecode bios')), false, INI_SCANNER_RAW);
|
||||
$status = "ok";
|
||||
return ["status" => $status, "system" => $system, "bios" => $bios];
|
||||
return ['status' => 'ok', 'system' => $system, 'bios' => $bios];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue