From 731fbe16e2a84cc6296d36fd470222db7def1c09 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Jan 2003 14:57:29 +0000 Subject: - factorize snd devices listing in detect_devices::getSoundDevices() so that each caller is ppc aware - factorize sound slots configuration into harddrake::sound::configure_sound_slots() so that harddrake service will eventually set them at bootstrapping time --- perl-install/install2.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 6662cd98d..06e0be85d 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -504,9 +504,8 @@ sub main { eval { modules::load("af_packet") }; - each_index { - modules::add_alias("sound-slot-$::i", $_->{driver}); - } modules::probe_category('multimedia/sound'); + require harddrake::sound; + harddrake::sound::configure_sound_slots(); #- needed very early for install_steps_gtk eval { $o->{mouse} = mouse::detect() } if !$o->{nomouseprobe} && !$o->{mouse} && !$::testing; -- cgit v1.2.1