mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
set all unix-like stuff to server, and remove old linux handling (quicker than you, failwindr :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1707 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -158,11 +158,6 @@ while ($device = mysql_fetch_array($device_query))
|
||||
{
|
||||
$device['type'] = $config['os'][$device['os']]['type'];
|
||||
}
|
||||
|
||||
if ($device['os'] == "linux")
|
||||
{
|
||||
if (preg_match("/-server$/", $device['version'])) { $device['type'] = 'server'; }
|
||||
}
|
||||
}
|
||||
|
||||
$device_end = utime(); $device_run = $device_end - $device_start; $device_time = substr($device_run, 0, 5);
|
||||
|
||||
Reference in New Issue
Block a user