| | |
| | | $relname = "(" . trim(trim($relname), "()") . ")"; |
| | | $distname = 'Ubuntu'; |
| | | $ver = reset($ver); |
| | | $distid = 'debian40'; |
| | | if($ver == "16.04") { |
| | | $distid = 'ubuntu1604'; |
| | | } else { |
| | | $distid = 'debian40'; |
| | | } |
| | | $distbaseid = 'debian'; |
| | | $distver = $ver . $lts . " " . $relname; |
| | | swriteln("Operating System: " . $distver . "\n"); |
| | |
| | | $distid = 'centos53'; |
| | | $distbaseid = 'fedora'; |
| | | swriteln("Operating System: CentOS 6 or compatible\n"); |
| | | } elseif(stristr($content, 'CentOS Linux release 7.2')) { |
| | | $distname = 'CentOS'; |
| | | $distver = 'Unknown'; |
| | | $distid = 'centos72'; |
| | | $distbaseid = 'fedora'; |
| | | swriteln("Operating System: CentOS 7.2\n"); |
| | | } elseif(stristr($content, 'CentOS Linux release 7')) { |
| | | $distname = 'CentOS'; |
| | | $distver = 'Unknown'; |