Browse Source

fix

pull/1016/head
Alexander Hurd 9 years ago
parent
commit
a7814afa99
  1. 6
      lgsm/functions/install_config.sh

6
lgsm/functions/install_config.sh

@ -176,20 +176,20 @@ fn_ut3config(){
sed -i 's/ServerName=/ServerName=LinuxGSM UT3 Server/g' "${servercfgdir}/DefaultGame.ini"
echo "setting WebAdmin password."
fn_script_log_info "setting WebAdmin password."
sed -i 's/AdminPassword=/AdminPassword=admin/g' "${servercfgdir}/DefaultGame.ini"
echo '[Engine.AccessControl]' >> "${servercfgdir}/DefaultGame.ini"
echo 'AdminPassword=admin' >> "${servercfgdir}/DefaultGame.ini"
sleep 1
echo "enabling WebAdmin."
fn_script_log_info "enabling WebAdmin."
sed -i 's/bEnabled=false/bEnabled=True/g' "${servercfgdir}/DefaultWeb.ini"
if [ "${gamename}" == "Unreal Tournament 3" ]; then
sleep 1
echo "setting WebAdmin port to 8075."
echo "setting WebAdmin port to 8081."
fn_script_log_info "setting WebAdmin port to 8081."
sed -i 's/ListenPort=80/ListenPort=8081/g' "${servercfgdir}/DefaultWeb.ini"
fi
sleep 1
echo ""
}
fn_unrealtournament(){

Loading…
Cancel
Save