mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
Comment in attr global is deleted now
git-svn-id: https://svn.fhem.de/fhem/trunk@836 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2fd4dc73db
commit
72046f7c6c
@ -167,7 +167,7 @@ my $nextat; # Time when next timer will be triggered.
|
||||
my $intAtCnt=0;
|
||||
my %duplicate; # Pool of received msg for multi-fhz/cul setups
|
||||
my $duplidx=0; # helper for the above pool
|
||||
my $cvsid = '$Id: fhem.pl,v 1.131 2011-02-06 08:50:25 rudolfkoenig Exp $';
|
||||
my $cvsid = '$Id: fhem.pl,v 1.132 2011-02-12 11:27:16 rudolfkoenig Exp $';
|
||||
my $namedef =
|
||||
"where <name> is either:\n" .
|
||||
"- a single device name\n" .
|
||||
@ -2486,7 +2486,10 @@ setGlobalAttrBeforeFork()
|
||||
while(my $l = <FH>) {
|
||||
chomp($l);
|
||||
next if($l !~ m/^attr +global +([^ ]+) +(.*)$/);
|
||||
$attr{global}{$1} = $2;
|
||||
my ($n,$v) = ($1,$2);
|
||||
$v =~ s/#.*//;
|
||||
$v =~ s/ .*$//;
|
||||
$attr{global}{$n} = $v;
|
||||
}
|
||||
close(FH);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user