summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:29:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:29:31 +0000
commit24260266edb77211e28ea9740c5b68692011e0d1 (patch)
treefc3e07f360c3234657cb6a2d19b657045fbacad1
parentd65c0b6ebdc62d2cb0da2e34ad66fece6883ba6c (diff)
downloaddrakx-24260266edb77211e28ea9740c5b68692011e0d1.tar
drakx-24260266edb77211e28ea9740c5b68692011e0d1.tar.gz
drakx-24260266edb77211e28ea9740c5b68692011e0d1.tar.bz2
drakx-24260266edb77211e28ea9740c5b68692011e0d1.tar.xz
drakx-24260266edb77211e28ea9740c5b68692011e0d1.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 590e259c5..d4afbcfd7 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -86,7 +86,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;