diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2005-02-19 03:16:15 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2005-02-19 03:16:15 +0000 |
commit | f726ec294d69f12e4866cbfbfb50349a68143d23 (patch) | |
tree | 9167f5b29c08d5a0e22a09b706aef943eacad66f /perl-install | |
parent | efda5d58894ee4ff5e07bc5b98a428bf243356cd (diff) | |
download | drakx-backup-do-not-use-f726ec294d69f12e4866cbfbfb50349a68143d23.tar drakx-backup-do-not-use-f726ec294d69f12e4866cbfbfb50349a68143d23.tar.gz drakx-backup-do-not-use-f726ec294d69f12e4866cbfbfb50349a68143d23.tar.bz2 drakx-backup-do-not-use-f726ec294d69f12e4866cbfbfb50349a68143d23.tar.xz drakx-backup-do-not-use-f726ec294d69f12e4866cbfbfb50349a68143d23.zip |
- Added support for the new keywords MANUAL, MANUALREQUIRED, and KERNEL in the
scanner database
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/scanner.pm | 5 |
1 files changed, 4 insertions, 1 deletions
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 {}, }; |