Browse Source

feature/bfv

pull/2909/head
scott 5 years ago
parent
commit
e0d7dbafbe
  1. 2
      lgsm/functions/info_config.sh
  2. 2
      lgsm/functions/info_messages.sh

2
lgsm/functions/info_config.sh

@ -212,7 +212,7 @@ fn_info_config_bfv(){
serverpassword=$(grep "game.serverPassword" "${servercfgfullpath}" | sed -e 's/^ *//g' -e '/^--/d' -e 's/game.serverPassword//g' | tr -d '=\";,:' | xargs)
maxplayers=$(grep "game.serverMaxPlayers" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]')
port=$(grep "game.serverPort" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]')
queryport="22000"
queryport="23000"
ip=$(grep "game.serverIP" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/game.serverIP//g' | tr -d '=\";,:' | xargs)
ipsetinconfig=1

2
lgsm/functions/info_messages.sh

@ -983,7 +983,7 @@ fn_info_message_bf1942(){
}
fn_info_message_bfv(){
echo -e "netstat -atunp | grep bf1942_lnxd"
echo -e "netstat -atunp | grep bfv_linde"
echo -e ""
{
echo -e "${lightblue}DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL${default}"

Loading…
Cancel
Save