From: Tzafrir Cohen Date: Sat, 7 Nov 2009 17:02:38 +0000 (+0000) Subject: Add LSB headers to the Debian init.d script X-Git-Tag: 11.0.0-beta1~3888 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec6f1f3ea48d505e7774dd1863c47806789c9755;p=thirdparty%2Fasterisk.git Add LSB headers to the Debian init.d script See also issue #14864 . git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228766 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 889bd1eaab..6431d2d1ae 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -26,6 +26,18 @@ ASTVARRUNDIR=__ASTERISK_VARRUN_DIR__ ASTETCDIR=__ASTERISK_ETC_DIR__ TRUE=/bin/true +### BEGIN INIT INFO +# Provides: asterisk +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Should-Start: dahdi mysql postgresql +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Asterisk PBX +# Description: the Asterisk Open Source PBX +### END INIT INFO + # Uncomment this ONLY if you know what you are doing. # export LD_ASSUME_KERNEL=2.4.1