summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 39154c658..c6ca5a9a6 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -531,7 +531,7 @@ sub main {
chmod 0755, "/usr/bin/brltty";
}
eval { modules::load("serial") };
- devices::make($o->{brltty}{device});
+ devices::make($_) foreach $o->{brltty}{device} ? $o->{brltty}{device} : qw(ttyS0 ttyS1);
devices::make("vcsa");
run_program::run("brltty");
}