From e52cb3a4e876f7b9b52093d96452960663fb7874 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 21 Mar 2013 09:26:30 -0400 Subject: Respect the product name here. --- etc/inc/services.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 309a424..7d8110e 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -1679,6 +1679,8 @@ EOD; $version = trim(file_get_contents('/etc/version')); $platform = trim(file_get_contents('/etc/platform')); + if (($platform == "pfSense") && ($g['product_name'] != "pfSense")) + $platform = $g['product_name']; $sysDescr = "{$g['product_name']} " . php_uname("n") . " {$version} {$platform} " . php_uname("s") . " " . php_uname("r") . " " . php_uname("m"); -- cgit v1.1