25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix bashism and remove duplicate unused option (EJAB-1404)

This commit is contained in:
Badlop 2011-03-09 16:23:44 +01:00
parent 3b2af5dfc5
commit 8a135262db

View File

@ -84,13 +84,8 @@ KERNEL_OPTS=""
if [ "$FIREWALL_WINDOW" != "" ] ; then
KERNEL_OPTS="${KERNEL_OPTS} -kernel inet_dist_listen_min ${FIREWALL_WINDOW%-*} inet_dist_listen_max ${FIREWALL_WINDOW#*-}"
fi
if [ "$DIST_INTERFACE" != "" ] ; then
KERNEL_OPTS="${KERNEL_OPTS} -kernel inet_dist_use_interface \"${DIST_INTERFACE}\""
fi
if [ "$INET_DIST_INTERFACE" != "" ] ; then
KERNEL_OPTS+=" -kernel inet_dist_use_interface \"${INET_DIST_INTERFACE}\""
KERNEL_OPTS="${KERNEL_OPTS} -kernel inet_dist_use_interface \"${INET_DIST_INTERFACE}\""
fi
ERLANG_OPTS="+K $POLL -smp $SMP +P $ERL_PROCESSES $ERL_OPTIONS"