summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-29 09:33:44 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-29 09:46:54 +0100
commit008e2d1b4296b86fdc30531677df4a91256c68de (patch)
tree0d094df977f854e1e55e2029c383ffeb581c0aec /perl-install/harddrake
parent16af9628dc9ba7a8b32aae17c70c60c3d76a7bc4 (diff)
downloaddrakx-008e2d1b4296b86fdc30531677df4a91256c68de.tar
drakx-008e2d1b4296b86fdc30531677df4a91256c68de.tar.gz
drakx-008e2d1b4296b86fdc30531677df4a91256c68de.tar.bz2
drakx-008e2d1b4296b86fdc30531677df4a91256c68de.tar.xz
drakx-008e2d1b4296b86fdc30531677df4a91256c68de.zip
(switch) merge it with config
rationale: config() only calls switch() and switch() does more than offering old OSS<->ALSA switch
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm8
1 files changed, 1 insertions, 7 deletions
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"),