summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-04 20:37:37 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-04 20:37:37 +0000
commit75869302ef4e74b6455fd1683709aed1e7debfc9 (patch)
tree5e292dcbfc90e43ad3a32becdc6ef71bb6da2293 /perl-install/standalone
parentfe4431652eb6fdf06c1f4a4c6f6d49b23925c59f (diff)
downloaddrakx-75869302ef4e74b6455fd1683709aed1e7debfc9.tar
drakx-75869302ef4e74b6455fd1683709aed1e7debfc9.tar.gz
drakx-75869302ef4e74b6455fd1683709aed1e7debfc9.tar.bz2
drakx-75869302ef4e74b6455fd1683709aed1e7debfc9.tar.xz
drakx-75869302ef4e74b6455fd1683709aed1e7debfc9.zip
stop modifying hotplug blacklist
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index c7da1b351..35759df0e 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -21,7 +21,6 @@ my $force = member('--force', @ARGV);
my $mode = $ARGV[0] eq 'stop' && 'stop';
if ($mode eq 'stop') {
- substInFile { $_ .= "audio\nsnd-usb-audio\n" if eof } '/etc/hotplug/blacklist';
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);
}