From: Jason Parker Date: Thu, 16 Sep 2010 22:12:30 +0000 (+0000) Subject: Add LSB headers for Debian init script, since Debian will complain if it isn't there. X-Git-Tag: 1.4.37-rc1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=510f98c4c74bae1c93023c42c89c7988c4f418aa;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@287197 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 93933f9e10..234038368d 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