diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 825df0a84..7ea395dc0 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -328,7 +328,7 @@ fn_info_config_mumble(){ queryport=${queryport:-"64738"} 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=$(cat "${servercfgfullpath}" | grep "host=" | awk -F "=" { print $2 }' ) ipsetinconfig=1 ipinconfigvar="voice_ip" fi