Browse Source

ordering & matching changes

pull/1138/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
e370cdd4b4
  1. 6
      lgsm/functions/info_config.sh

6
lgsm/functions/info_config.sh

@ -321,14 +321,12 @@ fn_info_config_mumble(){
servername="Mumble" servername="Mumble"
else else
port=$(grep "port" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/port//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') port=$(grep "port" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/port//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
queryport="${port}" ip=$(grep "host=" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/host=//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
# Not Set # Not Set
port=${port:-"64738"} port=${port:-"64738"}
queryport=${queryport:-"64738"} queryport=${queryport:-"64738"}
servername="Mumble Port ${port}" servername="Mumble Port ${port}"
# Misc variables
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