From 1a9b839b2f5c841eb2ac782c0f005e721ad5d363 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 10 Nov 2008 09:23:07 +0100 Subject: [PATCH] alsaconf: add Slackware support Add Slackware support. Signed-off-by: Clemens Ladisch --- alsaconf/alsaconf.in | 4 ++++ 1 file changed, 4 insertions(+) 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