mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# - Added test for safe_asterisk
|
||||
# - Changed "stop gracefully" to "stop now"
|
||||
# - Added support for -U and -G command line options
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
NAME=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
|
||||
|
||||
|
@@ -105,4 +105,3 @@ case "$1" in
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
# - Added test for safe_asterisk
|
||||
# - Verified SIGTERM issued by "killproc" ensures "stop gracefully"
|
||||
# - Added support for -U and -G command line options
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: asterisk
|
||||
|
@@ -60,4 +60,3 @@ case "$1" in
|
||||
*)
|
||||
echo "usage $0 start|stop|restart" ;;
|
||||
esac
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
# - Added test for safe_asterisk
|
||||
# - Verified SIGTERM issued by "killproc" ensures "stop gracefully"
|
||||
# - Added support for -U and -G command line options
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
# - Modified "reload" to call asterisk -rx 'reload'
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: asterisk
|
||||
|
Reference in New Issue
Block a user