~ubuntu-branches/debian/squeeze/alsa-utils/squeeze

« back to all changes in this revision

Viewing changes to debian/patches/debian_alsaconf_rcalsasound.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Elimar Riesebieter
  • Date: 2008-06-25 10:14:09 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080625101409-uv0q00ftzk3tisex
Tags: 1.0.16-2
[ Elimar Riesebieter ]
Dropped udev recommendation (closes: 476728)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Tweaked alsaconf to the new location of rcalasound script.
 
2
Elimar Riesebieter 2007/10/21
 
3
 
 
4
Index: alsa-utils-1.0.15/alsaconf/alsaconf.in
 
5
===================================================================
 
6
--- alsa-utils-1.0.15.orig/alsaconf/alsaconf.in 2007-12-16 01:43:12.000000000 +0100
 
7
+++ alsa-utils-1.0.15/alsaconf/alsaconf.in      2007-12-16 01:49:51.000000000 +0100
 
8
@@ -510,7 +510,7 @@
 
9
 #
 
10
 
 
11
 if [ "$distribution" = "debian" ]; then
 
12
-    rcalsasound=/etc/init.d/alsa
 
13
+    rcalsasound=/usr/sbin/alsa
 
14
 elif [ -x /etc/init.d/alsasound ]; then
 
15
     rcalsasound=/etc/init.d/alsasound
 
16
 elif [ -x /usr/sbin/rcalsasound ]; then
 
17
@@ -1422,7 +1422,7 @@
 
18
 
 
19
 intro
 
20
 
 
21
-[ -x /etc/init.d/alsa ] && /etc/init.d/alsa force-unload
 
22
+[ -x $rcalsasound ] && $rcalsasound force-unload
 
23
 
 
24
 if [ -d /proc/asound ]; then
 
25
   /sbin/rmmod dmasound dmasound_awacs 2>/dev/null