diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-27 19:19:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-27 19:19:02 +0000 |
commit | b0278853f4ba4296e954241bd3cbed3302d0b0d5 (patch) | |
tree | 689bc74cfbf34b134f95798d77a67a16e1ec1bd1 /perl-install/standalone | |
parent | d23d3f83976f6cf5678f270009488e09c4b8c51c (diff) | |
download | drakx-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')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 1 |
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); |