From 91e8b75a9657144cd3c56cb14b036e97933af7a6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Nov 2003 10:23:39 +0000 Subject: prevent load new driver too during install (anthil #110) --- perl-install/harddrake/sound.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/harddrake') 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 ... -- cgit v1.2.1