diff --git a/lgsm/functions/check.sh b/lgsm/functions/check.sh index c8e17cb05..196b748e0 100644 --- a/lgsm/functions/check.sh +++ b/lgsm/functions/check.sh @@ -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 diff --git a/lgsm/functions/command_install.sh b/lgsm/functions/command_install.sh index f344cc598..0a4f03cee 100644 --- a/lgsm/functions/command_install.sh +++ b/lgsm/functions/command_install.sh @@ -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