diff options
Diffstat (limited to 'contrib/init.d/rc.mandriva.asterisk')
-rwxr-xr-x | contrib/init.d/rc.mandriva.asterisk | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/init.d/rc.mandriva.asterisk b/contrib/init.d/rc.mandriva.asterisk index e095ccf75..8ac3aefe8 100755 --- a/contrib/init.d/rc.mandriva.asterisk +++ b/contrib/init.d/rc.mandriva.asterisk @@ -1,14 +1,14 @@ #!/bin/sh -# +# # asterisk: Starts the asterisk service -# +# # Version: @(#) /etc/rc.d/init.d/asterisk 1.0 -# +# # chkconfig: 2345 95 10 # description: Starts the asterisk service -# +# # processname: asterisk -# +# ### BEGIN INIT INFO # Provides: asterisk @@ -75,7 +75,7 @@ if [ "$TTY" != "" ]; then ASTARGS="${ASTARGS} -c" fi fi -if [ ! -w ${DUMPDROP} ]; then +if [ ! -w ${DUMPDROP} ]; then echo "Cannot write to ${DUMPDROP}" >&2 exit 1 fi @@ -93,7 +93,7 @@ SIGMSG=("None", "Hangup" "Interrupt" "Quit" "Illegal instruction" "Trace trap" " run_asterisk() { - while :; do + while :; do if [ "$TTY" != "" ]; then cd /tmp @@ -204,4 +204,3 @@ case "$1" in esac exit 0 - |