mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Add os_desc + kernel version functions
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user