aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-16 22:12:30 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-16 22:12:30 +0000
commit3b42411d3ba32316bb4fb7f20e2064dd1daa9fe9 (patch)
treee0815ee3af67dc3f552be9421bd2feea80240579 /contrib
parent91f2c6a4675ee3531e40bc6614249a4f1b393f55 (diff)
Add LSB headers for Debian init script, since Debian will complain if it isn't there.
Headers were taken from trunk. (closes issue #17958) Reported by: javyer git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@287197 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/init.d/rc.debian.asterisk12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index 93933f9e1..234038368 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -39,6 +39,18 @@ TRUE=/bin/true
# this out.
COLOR=yes
+### BEGIN INIT INFO
+# Provides: asterisk
+# Required-Start: $network $syslog $named $local_fs $remote_fs
+# Required-Stop: $network $syslog $named $local_fs $remote_fs
+# Should-Start: dahdi misdn lcr wanrouter mysql postgresql
+# Should-Stop: dahdi misdn lcr wanrouter mysql postgresql
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Asterisk PBX
+# Description: the Asterisk Open Source PBX
+### END INIT INFO
+
set -e
if ! [ -x $DAEMON ] ; then