summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/detect.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 11:00:05 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-08-25 11:00:05 +0000
commit83173612f3074bfaa6be4498bb54c2f4d5bcc41c (patch)
tree63982db4a56fb5c9e529143f1108434eacac8e18 /perl-install/printer/detect.pm
parent363271a7e85b1d13198ccaff9d69b60ca9e53a77 (diff)
downloaddrakx-83173612f3074bfaa6be4498bb54c2f4d5bcc41c.tar
drakx-83173612f3074bfaa6be4498bb54c2f4d5bcc41c.tar.gz
drakx-83173612f3074bfaa6be4498bb54c2f4d5bcc41c.tar.bz2
drakx-83173612f3074bfaa6be4498bb54c2f4d5bcc41c.tar.xz
drakx-83173612f3074bfaa6be4498bb54c2f4d5bcc41c.zip
Removed use of "parport_probe", we do not need to support kernel 2.2.x
any more.
Diffstat (limited to 'perl-install/printer/detect.pm')
-rw-r--r--perl-install/printer/detect.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 3ff48f0eb..b61051d9b 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -7,9 +7,8 @@ use detect_devices;
sub local_detect() {
modules::get_probeall("usb-interface") and eval { modules::load("printer") };
- eval { modules::unload(qw(lp parport_pc parport_probe parport)) }; #- on kernel 2.4 parport has to be unloaded to probe again
- eval { modules::load(qw(parport_pc lp parport_probe)) }; #- take care as not available on 2.4 kernel (silent error).
- my $_b = before_leaving { eval { modules::unload("parport_probe") } };
+ 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).
whatPrinter();
}