From f27a5486429839521597540e34ea781277ee6ded Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Sun, 14 Sep 2003 18:54:39 +0000 Subject: stop bootsplash silent mode if something is detected --- perl-install/standalone/service_harddrake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 3dccca3ff..f59c3c668 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -25,7 +25,7 @@ my $previous_config = -f $last_boot_config && -s $last_boot_config ? Storable::r $previous_config = $$previous_config if ref($previous_config) !~ /HASH/; my (%config, $wait); my $in; - +my $splash = -f '/proc/splash'; # For each hw, class, detect device, compare and offer to reconfigure if needed foreach (@harddrake::data::tree) { my ($Ident, $item, undef, $configurator, $detector, $do_it) = @$_; @@ -54,6 +54,7 @@ foreach (@harddrake::data::tree) { $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; + $splash and system('echo verbose > /proc/splash') and $splash = 0; my @configurator_pool; if (harddrake::data::is_removable($Ident)) { foreach my $device (@ID{@added}) { -- cgit v1.2.1