diff options
-rwxr-xr-x | perl-install/standalone/service_harddrake | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |