Browse Source

added BF1942

pull/1123/head
Daniel Gibbs 9 years ago
parent
commit
d9c09be1a9
  1. 8
      lgsm/functions/install_config.sh

8
lgsm/functions/install_config.sh

@ -52,6 +52,9 @@ fn_default_config_remote(){
fn_script_log_info "copying ${servercfg} config file." fn_script_log_info "copying ${servercfg} config file."
if [ "${config}" == "${servercfgdefault}" ]; then if [ "${config}" == "${servercfgdefault}" ]; then
cp -v "${lgsmdir}/default-configs/${config}" "${servercfgfullpath}" cp -v "${lgsmdir}/default-configs/${config}" "${servercfgfullpath}"
elif [ "${config}" == "${networkcfgdefault}" ]; then
# ARMA 3
cp -v "${lgsmdir}/default-configs/${config}" "${networkcfgfullpath}"
else else
cp -v "${lgsmdir}/default-configs/${config}" "${servercfgdir}/${config}" cp -v "${lgsmdir}/default-configs/${config}" "${servercfgdir}/${config}"
fi fi
@ -79,6 +82,11 @@ elif [ "${gamename}" == "ARMA 3" ]; then
array_configs+=( server.cfg network.cfg ) array_configs+=( server.cfg network.cfg )
fn_fetch_default_config fn_fetch_default_config
fn_default_config_remote fn_default_config_remote
elif [ "${gamename}" == "Battlefield: 1942" ]; then
gamedirname="Battlefield1942"
array_configs+=( serversettings.con )
fn_fetch_default_config
fn_default_config_remote
elif [ "${gamename}" == "Blade Symphony" ]; then elif [ "${gamename}" == "Blade Symphony" ]; then
gamedirname="BladeSymphony" gamedirname="BladeSymphony"
array_configs+=( server.cfg ) array_configs+=( server.cfg )

Loading…
Cancel
Save