mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #182 from toyowheelin/issue-177
Re-do of pfsense commit
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysDescr, "FreeBSD")) { $os = "freebsd"; } // It's FreeBSD!
|
||||
if (strstr($sysDescr, "Voswall")) { $os = "voswall"; } // Oh-No-It-Isn't!!
|
||||
if (strstr($sysDescr, "m0n0wall")) { $os = "monowall"; } // Ditto
|
||||
if (strstr($sysDescr, "Voswall")) { $os = "voswall"; } // Oh-No-It-Isn't!!
|
||||
else if (strstr($sysDescr, "m0n0wall")) { $os = "monowall"; } // Ditto
|
||||
else if (strstr($sysDescr, "pfSense")) { $os = "pfsense"; }
|
||||
else if (strstr($sysDescr, "FreeBSD")) { $os = "freebsd"; } // It's FreeBSD!
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user