2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

Restart trigger with .

git-svn-id: https://svn.fhem.de/fhem/trunk@1009 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-09-20 04:47:12 +00:00
parent 9da89240d8
commit 3264370101

View File

@ -74,14 +74,20 @@ watchdog_Notify($$)
if($ntfy->{STATE} =~ m/Next:/) {
if($n =~ m/^$re2$/ || "$n:$s" =~ m/^$re2$/) {
RemoveInternalTimer($ntfy);
if($re1 eq $re2) {
watchdog_Activate($ntfy);
} else {
$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);
}
}
return "";