From f77c483090b82d44a7a16c4a026d142f4632d176 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Aug 2005 23:04:14 +0000 Subject: use the new way to blacklist modules (#12731) --- perl-install/standalone/service_harddrake | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 07b76a06a..564544236 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -22,6 +22,7 @@ my $mode = $ARGV[0] eq 'stop' && 'stop'; if ($mode eq 'stop') { substInFile { $_ .= "snd-usb-audio\n" if eof } '/etc/hotplug/blacklist'; + append_to_file('/etc/modprobe.conf', "blacklist snd-usb-audio\n") if cat_('/etc/modprobe.conf') !~ /^blacklist snd-usb-audio/m; c::_exit(0); } -- cgit v1.2.1