mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
More generic detection from laf
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysDescr, "HP V1910-")) { $os = "hp"; }
|
||||
if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$string)) { $os = "hp"; }
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user