librenms/includes/osdiscovery/discover-freebsd.php
Adam Amstrong 159efd7751 i suck
git-svn-id: http://www.observium.org/svn/observer/trunk@189 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-22 15:32:52 +00:00

9 lines
237 B
PHP
Executable File

<?
if(!$os) {
if(strstr($sysDescr, "FreeBSD")) { $os = "FreeBSD"; } ## It's FreeBSD!
if(strstr($sysDescr, "Voswall")) { unset($os); } ## Oh-No-It-Isn't!!
if(strstr($sysDescr, "m0n0wall")) { unset($os); } ## Ditto
}
?>