diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-11 23:53:32 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-01-11 23:53:32 +0000 |
commit | dd0ab33cb2e6fee3386b17606b76a21557de9e06 (patch) | |
tree | f9aca5aaf3c72fb1d04f5a455271542bf6108df0 /contrib/init.d/rc.gentoo.asterisk | |
parent | cd8aa003e47bee5bd6f10b0e1fc1899f41d5a9f5 (diff) |
Add LSB headers to init scripts.
(closes issue #14864)
Reported by: lathama
Patches:
lsb-init-info-debian.diff uploaded by pkempgen (license 169)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/init.d/rc.gentoo.asterisk')
-rwxr-xr-x | contrib/init.d/rc.gentoo.asterisk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/init.d/rc.gentoo.asterisk b/contrib/init.d/rc.gentoo.asterisk index 161bdd0ee..ef54a0efa 100755 --- a/contrib/init.d/rc.gentoo.asterisk +++ b/contrib/init.d/rc.gentoo.asterisk @@ -1,6 +1,18 @@ #!/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 } |