summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alsaconf/alsaconf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in
index f72f12b..47d6da5 100644
--- a/alsaconf/alsaconf.in
+++ b/alsaconf/alsaconf.in
@@ -65,6 +65,8 @@ elif test -f /etc/redhat-release && grep -q "Red Hat" /etc/redhat-release; then
distribution="redhat"
elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then
distribution="fedora"
+elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then
+ distribution="slackware"
else
distribution="unknown"
fi
@@ -490,6 +492,8 @@ acex() {
if [ "$distribution" = "debian" ]; then
rcalsasound=/etc/init.d/alsa
+elif [ -x /etc/rc.d/rc.alsa ]; then
+ rcalsasound=/etc/rc.d/rc.alsa
elif [ -x /etc/init.d/alsasound ]; then
rcalsasound=/etc/init.d/alsasound
elif [ -x /usr/sbin/rcalsasound ]; then