mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
91_watchdog.pm: Add NOTIFYDEV to watchdog (Forum #64382)
git-svn-id: https://svn.fhem.de/fhem/trunk@13014 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3932b8bdc6
commit
a1b0d9fbb7
@ -69,6 +69,11 @@ watchdog_Define($$)
|
||||
|
||||
}
|
||||
|
||||
InternalTimer(1, sub($){
|
||||
my $re = ($re1 eq "." ? "" : $re1)."|".($re2 eq "SAME" ? $re1 : $re2);
|
||||
notifyRegexpChanged($watchdog, $re);
|
||||
}, $watchdog, 0);
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user