diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-03-01 20:56:49 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-03-01 20:56:49 +0000 |
commit | f552f2d2f039c25b2ab3ffb50e5d9e86dab1cd07 (patch) | |
tree | 35700f4a564986779f6527c260c9e1896c8673e8 | |
parent | 73fd37737f3bbd2a70b01d62afc508c675370cb5 (diff) |
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
-rwxr-xr-x | dahdi.init | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |