Restart trigger with .
git-svn-id: https://svn.fhem.de/fhem/trunk@1009 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -74,14 +74,20 @@ watchdog_Notify($$)
|
|||||||
if($ntfy->{STATE} =~ m/Next:/) {
|
if($ntfy->{STATE} =~ m/Next:/) {
|
||||||
if($n =~ m/^$re2$/ || "$n:$s" =~ m/^$re2$/) {
|
if($n =~ m/^$re2$/ || "$n:$s" =~ m/^$re2$/) {
|
||||||
RemoveInternalTimer($ntfy);
|
RemoveInternalTimer($ntfy);
|
||||||
|
|
||||||
if($re1 eq $re2) {
|
if($re1 eq $re2) {
|
||||||
watchdog_Activate($ntfy);
|
watchdog_Activate($ntfy);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$ntfy->{STATE} = "defined";
|
$ntfy->{STATE} = "defined";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} elsif($n =~ m/^$re1$/ || "$n:$s" =~ m/^$re1$/) {
|
|
||||||
|
} elsif($n =~ m/^$re1$/ || "$n:$s" =~ m/^$re1$/ || ($ln eq $n && $s eq ".")) {
|
||||||
watchdog_Activate($ntfy);
|
watchdog_Activate($ntfy);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user