summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-28 12:23:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-28 12:23:59 +0000
commit464162d12076095b4e03762b6f285689b4798f2f (patch)
tree53b3eca6ca897283dd2c423e4081b2f988c7cd7e /perl-install
parent0e6c116f890eaae7c81918281ebc64d4ec518433 (diff)
downloaddrakx-backup-do-not-use-464162d12076095b4e03762b6f285689b4798f2f.tar
drakx-backup-do-not-use-464162d12076095b4e03762b6f285689b4798f2f.tar.gz
drakx-backup-do-not-use-464162d12076095b4e03762b6f285689b4798f2f.tar.bz2
drakx-backup-do-not-use-464162d12076095b4e03762b6f285689b4798f2f.tar.xz
drakx-backup-do-not-use-464162d12076095b4e03762b6f285689b4798f2f.zip
log removed/added hw
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index a6ddce473..5c4ac6811 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -65,6 +65,9 @@ foreach my $hw_class (@harddrake::data::tree) {
my @added = difference2([ keys %ID ], [ keys %$oldconfig ]);
$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;
+
modules::load('ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added;
@added || @was_removed or next;
$splash and !system('echo verbose > /proc/splash') and $splash = 0;