|
|
@@ -10,12 +10,10 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
|
|
if [ ! -e "${servercfgfullpath}" ]; then
|
|
|
if [ "${shortname}" != "hw" ]&&[ "${shortname}" != "ut3" ]&&[ "${shortname}" != "kf2" ]; then
|
|
|
fn_print_dots ""
|
|
|
- sleep 0.5
|
|
|
fn_print_warn_nl "Configuration file missing!"
|
|
|
echo "${servercfgfullpath}"
|
|
|
fn_script_log_warn "Configuration file missing!"
|
|
|
fn_script_log_warn "${servercfgfullpath}"
|
|
|
- sleep 1
|
|
|
install_config.sh
|
|
|
fi
|
|
|
fi
|
|
|
@@ -23,7 +21,6 @@ fi
|
|
|
if [ "${shortname}" == "rust" ]; then
|
|
|
if [ -z "${rconpassword}" ]; then
|
|
|
fn_print_dots ""
|
|
|
- sleep 0.5
|
|
|
fn_print_fail_nl "RCON password is not set!"
|
|
|
echo " * Not setting an RCON password causes issues with ${gamename}"
|
|
|
fn_script_log_fatal "RCON password is not set"
|
|
|
@@ -31,10 +28,8 @@ if [ "${shortname}" == "rust" ]; then
|
|
|
core_exit.sh
|
|
|
elif [ "${rconpassword}" == "CHANGE_ME" ]; then
|
|
|
fn_print_dots ""
|
|
|
- sleep 0.5
|
|
|
fn_print_warn_nl "Default RCON Password detected!"
|
|
|
echo " * Having ${rconpassword} as a password is not very safe."
|
|
|
fn_script_log_warn "Default RCON Password detected"
|
|
|
- sleep 2
|
|
|
fi
|
|
|
fi
|