Browse Source

messages

pull/2959/head
Daniel Gibbs 5 years ago
parent
commit
c4b9279d2a
  1. 2
      lgsm/functions/check.sh
  2. 6
      lgsm/functions/command_validate.sh

2
lgsm/functions/check.sh

@ -48,7 +48,7 @@ if [ "$(whoami)" != "root" ]; then
done
fi
allowed_commands_array=( BACKUP CONSOLE DEBUG DETAILS MAP-COMPRESSOR FASTDL MODS-INSTALL MODS-REMOVE MODS-UPDATE MONITOR POST-DETAILS RESTART START STOP TEST-ALERT CHANGE-PASSWORD UPDATE UPDATE-LGSM VALIDATE WIPW )
allowed_commands_array=( BACKUP CONSOLE DEBUG DETAILS MAP-COMPRESSOR FASTDL MODS-INSTALL MODS-REMOVE MODS-UPDATE MONITOR POST-DETAILS RESTART START STOP TEST-ALERT CHANGE-PASSWORD UPDATE UPDATE-LGSM VALIDATE WIPE )
for allowed_command in "${allowed_commands_array[@]}"
do
if [ "${allowed_command}" == "${commandname}" ]; then

6
lgsm/functions/command_validate.sh

@ -28,8 +28,12 @@ fn_validate(){
fn_dl_steamcmd
}
fn_print_dots "SteamCMD"
# The location where the builds are checked and downloaded.
remotelocation="SteamCMD"
check.sh
fn_print_dots "${remotelocation}"
if [ "${status}" != "0" ]; then
fn_print_stop_warning
exitbypass=1

Loading…
Cancel
Save