Browse Source

Should Fix issue #1130

pull/1156/head
Daniel Gibbs 9 years ago
parent
commit
34b0a42a49
  1. 2
      lgsm/functions/info_config.sh

2
lgsm/functions/info_config.sh

@ -328,7 +328,7 @@ fn_info_config_mumble(){
queryport=${queryport:-"64738"} queryport=${queryport:-"64738"}
servername="Mumble Port ${port}" servername="Mumble Port ${port}"
ip=$(cat "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/voice_ip//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') ip=$(grep "host=" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/host=//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
ipsetinconfig=1 ipsetinconfig=1
ipinconfigvar="voice_ip" ipinconfigvar="voice_ip"
fi fi

Loading…
Cancel
Save