summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-09-02 22:17:17 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-09-02 22:17:17 +0000
commit635236681521a7599dfb0ca5ec252c75f53a9942 (patch)
treea39129e05c66cb43092eb0529811cb50bbd20bde /perl-install/printer
parent1f72116762d7547f35959189dae3145c1cc74cc1 (diff)
downloaddrakx-635236681521a7599dfb0ca5ec252c75f53a9942.tar
drakx-635236681521a7599dfb0ca5ec252c75f53a9942.tar.gz
drakx-635236681521a7599dfb0ca5ec252c75f53a9942.tar.bz2
drakx-635236681521a7599dfb0ca5ec252c75f53a9942.tar.xz
drakx-635236681521a7599dfb0ca5ec252c75f53a9942.zip
- Made reloading of parallel port kernel modules (for auto-detection)
also working if "ppdev" module is loaded.
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/detect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 7ae07c7d9..3b293b5de 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -11,8 +11,8 @@ sub local_detect() {
# Reload parallel port modules only when we were not called by
# automatic setup of print queues, to avoid recursive calls
if (!$::autoqueue) {
- eval { modules::unload(qw(lp parport_pc parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
- eval { modules::load(qw(parport_pc lp)) }; #- take care as not available on 2.4 kernel (silent error).
+ eval { modules::unload(qw(lp parport_pc ppdev parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
+ eval { modules::load(qw(ppdev parport_pc lp)) }; #- take care as not available on 2.4 kernel (silent error).
}
whatPrinter();
}