Browse Source

Add os_desc + kernel version functions

pull/1183/head
billz 6 months ago
parent
commit
b5886882ee
  1. 11
      app/lib/system.php

11
app/lib/system.php

@ -75,5 +75,16 @@ class Sysinfo
return $status;
}
public function operatingSystem()
{
$os_desc = shell_exec("lsb_release -sd");
return $os_desc;
}
public function kernelVersion()
{
$kernel = shell_exec("uname -r");
return $kernel;
}
}
Loading…
Cancel
Save