Fix error in conditional in asterisk rc script.
PR: 224833 Submitted by: Robert Ames <robertames@hotmail.com> MFH: 2018Q1
This commit is contained in:
parent
af51eaffd2
commit
c7e08d493c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457847
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 13.18.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
|
||||
MASTER_SITE_SUBDIR= asterisk/ \
|
||||
|
|
|
@ -61,7 +61,7 @@ asterisk_stop()
|
|||
return 1
|
||||
fi
|
||||
echo 'Stopping asterisk.'
|
||||
if [ ${asterisk_stopsleep} > 0 ]; then
|
||||
if [ ${asterisk_stopsleep} -gt 0 ]; then
|
||||
sleep ${asterisk_stopsleep}
|
||||
fi
|
||||
$command -nqrx 'core stop now'
|
||||
|
|
Loading…
Reference in a new issue