Browse Source

Make --dtls-passive available from ngcp-rtpengine-daemon.init

pull/269/head
Dinu 9 years ago
parent
commit
a4ea7c0bf3
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      debian/ngcp-rtpengine-daemon.default
  2. +1
    -0
      debian/ngcp-rtpengine-daemon.init

+ 1
- 0
debian/ngcp-rtpengine-daemon.default View File

@ -41,3 +41,4 @@ TABLE=0
# HOMER_ID=2001
# RECORDING_DIR=/var/spool/rtpengine/
# LOG_STDERR="no"
# DTLS_PASSIVE="no"

+ 1
- 0
debian/ngcp-rtpengine-daemon.init View File

@ -95,6 +95,7 @@ OPTIONS="$OPTIONS --table=$TABLE"
[ -z "$HOMER_PROTOCOL" ] || OPTIONS="$OPTIONS --homer-protocol=$HOMER_PROTOCOL"
[ -z "$HOMER_ID" ] || OPTIONS="$OPTIONS --homer-id=$HOMER_ID"
[ -z "$RECORDING_DIR" ] || OPTIONS="$OPTIONS --recording-dir=$RECORDING_DIR"
[ -z "$DTLS_PASSIVE" -o \("$DTLS_PASSIVE" != "yes" -a "$DTLS_PASSIVE" != "1" \) ] || OPTIONS="$OPTIONS --dtls-passive"
if test "$FORK" = "no" ; then
OPTIONS="$OPTIONS --foreground"


Loading…
Cancel
Save