From 656b70319b462e77711438af83ba5f7aa56748f7 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 11 Sep 2007 23:07:48 +0000 Subject: drop snd-usb-audio blacklist, now done with a modprobe.d file --- perl-install/standalone/service_harddrake | 7 ------- 1 file changed, 7 deletions(-) (limited to 'perl-install/standalone/service_harddrake') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 3f3ba8517..7dde81a78 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -18,13 +18,6 @@ use Storable qw(store retrieve); my $force = member('--force', @ARGV); -my $mode = $ARGV[0] eq 'stop' && 'stop'; - -if ($mode eq 'stop') { - append_to_file('/etc/modprobe.conf', "blacklist audio\nblacklist snd-usb-audio\n") if cat_('/etc/modprobe.conf') !~ /^blacklist snd-usb-audio/m; - c::_exit(0); -} - my $invert_do_it = $ARGV[0] eq 'X11' ? 1 : 0; my ($hw_sysconfdir, $timeout) = ("/etc/sysconfig/harddrake2", $invert_do_it ? 600 : 25); my $last_boot_config = "$hw_sysconfdir/previous_hw"; -- cgit v1.2.1