26 lines
909 B
Diff
26 lines
909 B
Diff
|
diff -Nru alsa-utils-1.0.19.orig/alsaconf/alsaconf.in alsa-utils-1.0.19/alsaconf/alsaconf.in
|
||
|
--- alsa-utils-1.0.19.orig/alsaconf/alsaconf.in 2009-01-19 12:17:19.000000000 +0100
|
||
|
+++ alsa-utils-1.0.19/alsaconf/alsaconf.in 2009-01-19 20:00:42.000000000 +0100
|
||
|
@@ -53,6 +53,8 @@
|
||
|
if [ -f /etc/SuSE-release ]; then
|
||
|
distribution="suse"
|
||
|
suse_version=$(grep 'VERSION = ' /etc/SuSE-release | sed -e s/'VERSION = '//)
|
||
|
+elif [ -f /etc/openmamba-release ]; then
|
||
|
+ distribution="openmamba"
|
||
|
elif [ -f /etc/UnitedLinux-release ]; then
|
||
|
distribution="suse"
|
||
|
elif [ -f /etc/gentoo-release ]; then
|
||
|
@@ -511,8 +513,10 @@
|
||
|
|
||
|
# MAIN
|
||
|
if [ -d $PROCFS/asound ]; then
|
||
|
- $rcalsasound stop >/dev/null 2>&1
|
||
|
- $rcalsasound unload >/dev/null 2>&1
|
||
|
+ if [ -x $rcalsasound ]; then
|
||
|
+ $rcalsasound stop >/dev/null 2>&1
|
||
|
+ $rcalsasound unload >/dev/null 2>&1
|
||
|
+ fi
|
||
|
/sbin/rmmod dmasound dmasound_awacs 2>/dev/null
|
||
|
fi
|
||
|
|