mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-05 18:16:44 +00:00
$sysCmd $mac
changed to qx ("$sysCmd $mac");
git-svn-id: https://svn.fhem.de/fhem/trunk@4923 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2bcf2b5e32
commit
f086b20dd1
@ -211,7 +211,7 @@ sub wol_by_ew($$) {
|
||||
|
||||
my $sysCmd = AttrVal($hash->{NAME}, "sysCmd", "/usr/bin/ether-wake");
|
||||
if (-e $sysCmd) {
|
||||
my $response = `$sysCmd $mac`;
|
||||
qx ("$sysCmd $mac");
|
||||
} else {
|
||||
Log3 $hash, 1, "[$hash->{NAME}] system command '$sysCmd' not found";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user