Browse Source

Now prevents IP check from running on installer

this prevents issues with ut2k4server requiring restarts on install
pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
6a3f54bf7c
  1. 4
      lgsm/functions/check.sh
  2. 1
      lgsm/functions/command_install.sh

4
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

1
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

Loading…
Cancel
Save