diff --git a/app/lib/system.php b/app/lib/system.php index ee21ad84..22f7255a 100644 --- a/app/lib/system.php +++ b/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; + } }