Revision e52cb3a4
Added by Jim Pingle over 12 years ago
etc/inc/services.inc | ||
---|---|---|
1679 | 1679 |
|
1680 | 1680 |
$version = trim(file_get_contents('/etc/version')); |
1681 | 1681 |
$platform = trim(file_get_contents('/etc/platform')); |
1682 |
if (($platform == "pfSense") && ($g['product_name'] != "pfSense")) |
|
1683 |
$platform = $g['product_name']; |
|
1682 | 1684 |
$sysDescr = "{$g['product_name']} " . php_uname("n") . |
1683 | 1685 |
" {$version} {$platform} " . php_uname("s") . |
1684 | 1686 |
" " . php_uname("r") . " " . php_uname("m"); |
Also available in: Unified diff
Respect the product name here.