From f552f2d2f039c25b2ab3ffb50e5d9e86dab1cd07 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 1 Mar 2010 20:56:49 +0000 Subject: dahdi.init: Add support for SuSE. The init script would fail on SuSE without this change, since it would look for the redhat init script functions. DAHDI-437. (closes issue #16761) Reported by: oej Patch by: jparker git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8194 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi.init | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dahdi.init b/dahdi.init index 91ae44e..3460c44 100755 --- a/dahdi.init +++ b/dahdi.init @@ -53,6 +53,11 @@ if [ -f /etc/gentoo-release ]; then system=debian fi +if [ -f /etc/SuSE-release -o -f /etc/novell-release ] +then + system=debian +fi + # Source function library. if [ $system = redhat ]; then . $initdir/functions || exit 0 -- cgit v1.2.3