Browse Source

dont escape exclamation points in sh scripts

vseva/9065
Richard Fuchs 11 years ago
parent
commit
34ca29b9a4
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      debian/ngcp-rtpengine-daemon.init
  2. +2
    -2
      el/rtpengine.init

+ 2
- 2
debian/ngcp-rtpengine-daemon.init View File

@ -45,9 +45,9 @@ set -e
OPTIONS=""
[ -z "$ADDRESS" ] || OPTIONS="$OPTIONS --interface=$ADDRESS"
[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS\!$ADV_ADDRESS"
[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS!$ADV_ADDRESS"
[ -z "$ADDRESS_IPV6" ] || OPTIONS="$OPTIONS --interface=$ADDRESS_IPV6"
[ -z "$ADV_ADDRESS_IPV6" ] || OPTIONS="$OPTIONS\!$ADV_ADDRESS_IPV6"
[ -z "$ADV_ADDRESS_IPV6" ] || OPTIONS="$OPTIONS!$ADV_ADDRESS_IPV6"
[ -z "$LISTEN_TCP" ] || OPTIONS="$OPTIONS --listen-tcp=$LISTEN_TCP"
[ -z "$LISTEN_UDP" ] || OPTIONS="$OPTIONS --listen-udp=$LISTEN_UDP"
[ -z "$LISTEN_NG" ] || OPTIONS="$OPTIONS --listen-ng=$LISTEN_NG"


+ 2
- 2
el/rtpengine.init View File

@ -63,7 +63,7 @@ build_opts() {
if [[ -n "$RTP_ADV_IP" ]]
then
OPTS+="\!$RTP_ADV_IP"
OPTS+="!$RTP_ADV_IP"
fi
if [[ -n "$RTP_IP6" ]]
@ -74,7 +74,7 @@ build_opts() {
if [[ -n "$RTP_ADV_IP6" ]]
then
OPTS+="\!$RTP_ADV_IP6"
OPTS+="!$RTP_ADV_IP6"
fi
if [[ -n "$LISTEN_TCP" ]]


Loading…
Cancel
Save