From f726ec294d69f12e4866cbfbfb50349a68143d23 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Sat, 19 Feb 2005 03:16:15 +0000 Subject: - Added support for the new keywords MANUAL, MANUALREQUIRED, and KERNEL in the scanner database --- perl-install/scanner.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm index 433191b97..17b2eae75 100755 --- a/perl-install/scanner.pm +++ b/perl-install/scanner.pm @@ -168,7 +168,7 @@ sub configured() { sub nonroot_access_for_parport { # This function configures a non-root access for parallel port - # scanners by running saned as root, esporting the scanner to + # scanners by running saned as root, exporting the scanner to # localhost and letting the user's frontend use the "net" backend # to access the scanner through the loopback network device. @@ -488,7 +488,10 @@ sub readScannerDB { ASK => sub { $card->{ask} = $val }, SERVER => sub { $card->{server} = $val }, DRIVER => sub { $card->{driver} = $val }, + KERNEL => sub { push(@{$card->{kernel}}, $val) }, UNSUPPORTED => sub { $card->{flags}{unsupported} = 1 }, + MANUAL => sub { $card->{flags}{manual} = 1 }, + MANUALREQUIRED => sub { $card->{flags}{manual} = 2 }, COMMENT => sub {}, }; -- cgit v1.2.1