From 008e2d1b4296b86fdc30531677df4a91256c68de Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 29 Nov 2013 09:33:44 +0100 Subject: (switch) merge it with config rationale: config() only calls switch() and switch() does more than offering old OSS<->ALSA switch --- perl-install/harddrake/sound.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'perl-install') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index c24e84fd7..abb135dbc 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -124,7 +124,7 @@ sub do_switch { rooted("service sound start") if $::isStandalone; } -sub switch { +sub config { my ($in, $modules_conf, $device) = @_; my $driver = $device->{current_driver} || $device->{driver}; @@ -244,12 +244,6 @@ To use alsa, one can either use: end: } -sub config { - my ($in, $modules_conf, $device) = @_; - switch($in, $modules_conf, $device); -} - - sub trouble { my ($in) = @_; $in->ask_warn(N("Sound troubleshooting"), -- cgit v1.2.1