summaryrefslogtreecommitdiff
path: root/dahdi.init
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-01-25 00:49:45 +0000
committerSean Bright <sean@malleable.com>2009-01-25 00:49:45 +0000
commit7ed7e1081460196a595f4b2fc070fbbdb6c46a2a (patch)
tree2955b9a3d03ac979a8de45543e078fc072b69927 /dahdi.init
parent14f35afab8cff83aab6eebbff05d1a6e5637f0fc (diff)
Use the debian commands on Gentoo.
(closes issue #14277) Reported by: darren1713 Patches: dahdi.init.txt uploaded by darren1713 (license 116) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5808 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi.init')
-rwxr-xr-xdahdi.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/dahdi.init b/dahdi.init
index 6c352cc..0c4b05d 100755
--- a/dahdi.init
+++ b/dahdi.init
@@ -45,6 +45,10 @@ if [ -f /etc/debian_version ]; then
system=debian
fi
+if [ -f /etc/gentoo-release ]; then
+ system=debian
+fi
+
# Source function library.
if [ $system = redhat ]; then
. $initdir/functions || exit 0