[asterisk-commits] tilghman: trunk r239270 - /trunk/contrib/init.d/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 11 17:53:38 CST 2010


Author: tilghman
Date: Mon Jan 11 17:53:32 2010
New Revision: 239270

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=239270
Log:
Add LSB headers to init scripts.
(closes issue #14864)
 Reported by: lathama
 Patches: 
       lsb-init-info-debian.diff uploaded by pkempgen (license 169)

Modified:
    trunk/contrib/init.d/rc.archlinux.asterisk
    trunk/contrib/init.d/rc.debian.asterisk
    trunk/contrib/init.d/rc.gentoo.asterisk
    trunk/contrib/init.d/rc.mandriva.asterisk
    trunk/contrib/init.d/rc.redhat.asterisk
    trunk/contrib/init.d/rc.slackware.asterisk
    trunk/contrib/init.d/rc.suse.asterisk

Modified: trunk/contrib/init.d/rc.archlinux.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.archlinux.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.archlinux.asterisk (original)
+++ trunk/contrib/init.d/rc.archlinux.asterisk Mon Jan 11 17:53:32 2010
@@ -6,6 +6,19 @@
 #
 # 10.10.2008 - Initial Version
 #
+
+### 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
+
 . /etc/rc.conf
 . /etc/rc.d/functions
 DAEMON=__ASTERISK_SBIN_DIR__/asterisk

Modified: trunk/contrib/init.d/rc.debian.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.debian.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.debian.asterisk (original)
+++ trunk/contrib/init.d/rc.debian.asterisk Mon Jan 11 17:53:32 2010
@@ -28,10 +28,10 @@
 
 ### BEGIN INIT INFO
 # Provides:		asterisk
-# Required-Start:	$local_fs
-# Required-Stop:	$local_fs
-# Should-Start:		dahdi mysql postgresql
-# Should-Stop:
+# 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

Modified: trunk/contrib/init.d/rc.gentoo.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.gentoo.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.gentoo.asterisk (original)
+++ trunk/contrib/init.d/rc.gentoo.asterisk Mon Jan 11 17:53:32 2010
@@ -1,5 +1,17 @@
 #!/sbin/runscript
 # $Id$
+
+### 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
 
 depend() {
 	need net logger

Modified: trunk/contrib/init.d/rc.mandriva.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.mandriva.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.mandriva.asterisk (original)
+++ trunk/contrib/init.d/rc.mandriva.asterisk Mon Jan 11 17:53:32 2010
@@ -9,6 +9,18 @@
 # 
 # processname:	asterisk
 # 
+
+### 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
 
 # $Id$
 

Modified: trunk/contrib/init.d/rc.redhat.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.redhat.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.redhat.asterisk (original)
+++ trunk/contrib/init.d/rc.redhat.asterisk Mon Jan 11 17:53:32 2010
@@ -19,6 +19,18 @@
 # - Verified SIGTERM issued by "killproc" ensures "stop gracefully"
 # - Added support for -U and -G command line options
 # - Modified "reload" to call asterisk -rx 'reload' 
+
+### 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
 
 # Use this option to specify a different configuration directory
 #AST_CONFIG=/etc/asterisk

Modified: trunk/contrib/init.d/rc.slackware.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.slackware.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.slackware.asterisk (original)
+++ trunk/contrib/init.d/rc.slackware.asterisk Mon Jan 11 17:53:32 2010
@@ -7,6 +7,18 @@
 # 03.29.2005 - Initial Version
 #
 # $Id$
+
+### 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
 
 asterisk_start() {
    if [ -x /usr/sbin/asterisk ]; then

Modified: trunk/contrib/init.d/rc.suse.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.suse.asterisk?view=diff&rev=239270&r1=239269&r2=239270
==============================================================================
--- trunk/contrib/init.d/rc.suse.asterisk (original)
+++ trunk/contrib/init.d/rc.suse.asterisk Mon Jan 11 17:53:32 2010
@@ -21,12 +21,15 @@
 # - Modified "reload" to call asterisk -rx 'reload' 
 
 ### BEGIN INIT INFO
-# Provides:                    asterisk
-# Required-Start:      +dahdi $network $named
-# Required-Stop:
-# Default-Start:     3 5
-# Default-Stop:      0 1 2 4 6
-# Description: dahdi - dahdi modules for Asterisk
+# 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
 
 # Source function library.




More information about the asterisk-commits mailing list