diff options
author | Florent Villard <warly@mandriva.com> | 2003-09-14 18:54:39 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-09-14 18:54:39 +0000 |
commit | f27a5486429839521597540e34ea781277ee6ded (patch) | |
tree | 686484307430c4d23b26776d2e2e517ae6d8b770 /perl-install/standalone/service_harddrake | |
parent | 556003bb09147be4e2b1e339fa18b139672fd781 (diff) | |
download | drakx-backup-do-not-use-f27a5486429839521597540e34ea781277ee6ded.tar drakx-backup-do-not-use-f27a5486429839521597540e34ea781277ee6ded.tar.gz drakx-backup-do-not-use-f27a5486429839521597540e34ea781277ee6ded.tar.bz2 drakx-backup-do-not-use-f27a5486429839521597540e34ea781277ee6ded.tar.xz drakx-backup-do-not-use-f27a5486429839521597540e34ea781277ee6ded.zip |
stop bootsplash silent mode if something is detected
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 3 |
1 files changed, 2 insertions, 1 deletions
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}) { |