librenms-librenms/includes/discovery/os/poweralert.inc.php
Tony Murray 0fa29b6d29 Change poweralert os detection to case insensitive.
Patch from Neil Lathwood
2016-04-22 21:39:48 -05:00

8 lines
106 B
PHP

<?php
if (!$os) {
if (preg_match('/^POWERALERT/i', $sysDescr)) {
$os = 'poweralert';
}
}