summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 16:06:43 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 16:06:43 +0000
commit6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29 (patch)
treeee9b56b9f834b8f73984169e95266e99feecb5bd
parent563fa5f3a9bea3e22073f34446dfbc6dfcf7b0fb (diff)
downloaddrakx-backup-do-not-use-6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29.tar
drakx-backup-do-not-use-6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29.tar.gz
drakx-backup-do-not-use-6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29.tar.bz2
drakx-backup-do-not-use-6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29.tar.xz
drakx-backup-do-not-use-6fe6e56dc0534f0e7a37001c5ae8631b89b2cf29.zip
make sure to insmod parport_probe alone as it is not available in 2.4 kernel and
this this not a problem (silent error).
-rw-r--r--perl-install/printerdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index aace3d319..11c1f9486 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -18,7 +18,8 @@ sub auto_detect {
{
my $w = $in->wait_message(_("Test ports"), _("Detecting devices..."));
modules::get_alias("usb-interface") and eval { modules::load("printer"); sleep(2); };
- eval { modules::load_multi("parport_pc", "parport_probe", "lp"); };
+ eval { modules::load_multi("parport_pc", "lp"); };
+ eval { modules::load("parport_probe"); }; #- take care as not available on 2.4 kernel (silent error).
}
my $b = before_leaving { eval { modules::unload("parport_probe") } };
detect_devices::whatPrinter();