this prevents issues with ut2k4server requiring restarts on install
@@ -65,7 +65,9 @@ local allowed_commands_array=( command_debug.sh command_details.sh command_monit
for allowed_command in "${allowed_commands_array[@]}"
do
if [ "${allowed_command}" == "${function_selfname}" ]; then
- check_ip.sh
+ if [ -z "${installflag}" ]; then
+ check_ip.sh
+ fi
fi
done
@@ -14,6 +14,7 @@ install_header.sh
install_server_dir.sh
install_logs.sh
check_deps.sh
+installflag=1
# Download and install
if [ "${gamename}" == "Unreal Tournament 2004" ]; then
install_server_files.sh