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
+3
View File
@@ -70,6 +70,9 @@ class SystemNodeProvider implements NodeProviderInterface
case 'DAR':
passthru('ifconfig 2>&1');
break;
case 'FRE':
passthru('netstat -i -f link 2>&1');
break;
case 'LIN':
default:
passthru('netstat -ie 2>&1');