From 2f9d4f5da564b5716be76bed02f75eb176c841e3 Mon Sep 17 00:00:00 2001 From: qwell Date: Thu, 16 Sep 2010 22:12:51 +0000 Subject: Merged revisions 287197 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r287197 | qwell | 2010-09-16 17:12:30 -0500 (Thu, 16 Sep 2010) | 7 lines 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.6.2@287198 f38db490-d61c-443f-a65b-d21fe96a405b --- contrib/init.d/rc.debian.asterisk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index c8e13ef41..4d9bb15f1 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -41,6 +41,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 -- cgit v1.2.3