2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

changed: check exist /sbin/ifconfig

git-svn-id: https://svn.fhem.de/fhem/trunk@15378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister 2017-11-01 20:36:57 +00:00
parent 130bd1476c
commit 10ce901934

View File

@ -2678,6 +2678,8 @@ sub SYSMON_getNetworkInfo ($$$) {
if($hash->{helper}->{excludes}{'network'}) {return $map;}
return $map unless (-e "/sbin/ifconfig");
SYSMON_Log($hash, 5, "get $device");
my($nName, $nDef) = split(/:/, $device);
if(!defined $nDef) {