mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
Blocking.pm: enable setting the telnet port by the user (Forum #68477)
git-svn-id: https://svn.fhem.de/fhem/trunk@14345 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
28c272fb85
commit
25ec2beed5
@ -31,11 +31,18 @@ our %BC_hash;
|
||||
my $telnetClient;
|
||||
my $bc_pid = 0;
|
||||
|
||||
use vars qw($BC_telnet); # set optionally by the user, Forum #68477
|
||||
|
||||
sub
|
||||
BC_searchTelnet($)
|
||||
{
|
||||
my ($blockingFn) = @_;
|
||||
|
||||
if($BC_telnet) {
|
||||
$BC_telnetDevice = $BC_telnet;
|
||||
return;
|
||||
}
|
||||
|
||||
$BC_telnetDevice = undef;
|
||||
foreach my $d (sort keys %defs) { #
|
||||
my $h = $defs{$d};
|
||||
|
Loading…
x
Reference in New Issue
Block a user