Browse Source

Added details for ut3

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
93f31b2546
  1. 12
      lgsm/functions/info_config.sh

12
lgsm/functions/info_config.sh

@ -608,7 +608,17 @@ fn_info_config_unreal(){
}
fn_info_config_unreal3(){
servername=$(grep "ServerName" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/ServerName//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
if [ ! -f "${servercfgfullpath}" ]; then
servername="${unavailable}"
webadminpass="${unavailable}"
else
servername=$(grep "ServerName" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/ServerName//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
webadminpass=$(grep grep "AdminPassword" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/AdminPassword//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
# Not Set
servername=${servername:-"NOT SET"}
webadminpass=${webadminpass:-"NOT SET"}
fi
}
fn_info_config_sdtd(){

Loading…
Cancel
Save