1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Add os_desc + kernel version functions

This commit is contained in:
billz 2022-06-08 17:21:50 +00:00
parent 86bb8458b8
commit b5886882ee

View File

@ -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;
}
}