mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Change poweralert os detection to case insensitive.
Patch from Neil Lathwood
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match('/^POWERALERT/', $sysDescr)) {
|
||||
if (preg_match('/^POWERALERT/i', $sysDescr)) {
|
||||
$os = 'poweralert';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user