summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:29:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:29:42 +0000
commitff60e1d0dd98aa8debb199812c894ab02acd4f5d (patch)
tree3737b34c2ac31b8978f29d304c73c90734e4153b
parent5b4afecd8277e232df710b4019ff2dfdf3e7a7b1 (diff)
downloaddrakx-ff60e1d0dd98aa8debb199812c894ab02acd4f5d.tar
drakx-ff60e1d0dd98aa8debb199812c894ab02acd4f5d.tar.gz
drakx-ff60e1d0dd98aa8debb199812c894ab02acd4f5d.tar.bz2
drakx-ff60e1d0dd98aa8debb199812c894ab02acd4f5d.tar.xz
drakx-ff60e1d0dd98aa8debb199812c894ab02acd4f5d.zip
fix logs of newly added hardware
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 655cd2c82..1b95f6cf1 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -76,7 +76,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$msg .= N("Some devices were added: %s\n", $item) if @added;
$msg .= N("- %s was added\n", harddrake::data::custom_id($ID{$_}, $item)) foreach @added;
log::explanations("removed $Ident: " . harddrake::data::custom_id($oldconfig->{$_}, $item)) foreach @was_removed;
- log::explanations("added $Ident: " . harddrake::data::custom_id($oldconfig->{$_}, $item)) foreach @added;
+ log::explanations("added $Ident: " . harddrake::data::custom_id($ID{$_}, $item)) foreach @added;
modules::load('ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added;
@added || @was_removed or next;