summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-27 19:19:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-27 19:19:02 +0000
commitb0278853f4ba4296e954241bd3cbed3302d0b0d5 (patch)
tree689bc74cfbf34b134f95798d77a67a16e1ec1bd1 /perl-install/standalone/service_harddrake
parentd23d3f83976f6cf5678f270009488e09c4b8c51c (diff)
downloaddrakx-backup-do-not-use-b0278853f4ba4296e954241bd3cbed3302d0b0d5.tar
drakx-backup-do-not-use-b0278853f4ba4296e954241bd3cbed3302d0b0d5.tar.gz
drakx-backup-do-not-use-b0278853f4ba4296e954241bd3cbed3302d0b0d5.tar.bz2
drakx-backup-do-not-use-b0278853f4ba4296e954241bd3cbed3302d0b0d5.tar.xz
drakx-backup-do-not-use-b0278853f4ba4296e954241bd3cbed3302d0b0d5.zip
add ieee1394-controller alias and load ohci1394 when a firewire controller appeared
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 9a6a26e34..1481eafca 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -51,6 +51,7 @@ foreach (@harddrake::data::tree) {
my @added = difference2([ keys %ID ], [ keys %$oldconfig ]);
$msg .= N("Some devices were added:\n", $item) if @added;
$msg .= "- " . harddrake::data::custom_id($ID{$_}, $item) . " was added\n" foreach @added;
+ modules::load('ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added;
@added || @was_removed or next;
harddrake::data::set_removable_configurator($Ident, first(values %$oldconfig, values %ID), \$configurator);
next unless -x first(split /\s+/, $configurator);