summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-20 10:23:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-20 10:23:39 +0000
commit91e8b75a9657144cd3c56cb14b036e97933af7a6 (patch)
treef54883f89c3a1f28b07e22e7af5d3514fa102409 /perl-install/harddrake
parent7e2cfc1116c456a06528ed44b52c658c123a9fea (diff)
downloaddrakx-91e8b75a9657144cd3c56cb14b036e97933af7a6.tar
drakx-91e8b75a9657144cd3c56cb14b036e97933af7a6.tar.gz
drakx-91e8b75a9657144cd3c56cb14b036e97933af7a6.tar.bz2
drakx-91e8b75a9657144cd3c56cb14b036e97933af7a6.tar.xz
drakx-91e8b75a9657144cd3c56cb14b036e97933af7a6.zip
prevent load new driver too during install (anthil #110)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index f2286cb8c..d75392ee2 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -155,9 +155,9 @@ sub do_switch {
modules::add_alias("sound-slot-$index", $new_driver);
modules::write_conf();
if ($new_driver =~ /^snd-/) { # new driver is an alsa one
- rooted("service alsa start") if $::isStandalone && ! $blacklisted;
+ rooted("service alsa start") if $::isStandalone && !$blacklisted;
rooted("/sbin/chkconfig --add alsa") if $::isStandalone;
- load($new_driver); # service alsa is buggy
+ load($new_driver) if $::isStandalone; # service alsa is buggy
} else { rooted("/sbin/chkconfig --del alsa") }
log::explanations("loading new $new_driver\n");
rooted("/sbin/chkconfig --add sound"); # just in case ...