Add support for determining MAC address on FreeBSD systems

This commit is contained in:
kalifg
2018-02-07 15:15:49 -06:00
parent a7a286e5c2
commit a7492800e2
2 changed files with 4 additions and 0 deletions
@@ -140,6 +140,7 @@ class SystemNodeProviderTest extends TestCase
'windows' => ['Windows', 'ipconfig /all 2>&1'],
'mac' => ['Darwhat', 'ifconfig 2>&1'],
'linux' => ['Linux', 'netstat -ie 2>&1'],
'freebsd' => ['FreeBSD', 'netstat -i -f link 2>&1'],
'anything_else' => ['someotherxyz', 'netstat -ie 2>&1']
];
}