NotifyOrderPrefix to simplify the average module

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-01-05 13:09:07 +00:00
parent 6152eb8833
commit 6aca67586a
5 changed files with 46 additions and 61 deletions

View File

@@ -325,6 +325,10 @@ CommandUsb($$)
my $msg;
my $dir = "/dev";
if($^O =~ m/Win/) {
return "This command is not yet supported on windows";
}
require "$attr{global}{modpath}/FHEM/DevIo.pm";
foreach my $dev (sort split("\n", `ls $dir`)) {