Browse Source

change password

pull/2565/head
Daniel Gibbs 6 years ago
parent
commit
623a87e70b
  1. 6
      lgsm/functions/command_start.sh
  2. 3
      lgsm/functions/command_ts3_server_pass.sh

6
lgsm/functions/command_start.sh

@ -36,11 +36,7 @@ fn_start_teamspeak3(){
install_eula.sh
fi
cd "${executabledir}" || exit
if [ "${ts3serverpass}" == "1" ]; then
./ts3server_startscript.sh start serveradmin_password="${newpassword}" inifile="${servercfgfullpath}" > /dev/null 2>&1
else
fn_start_tmux
fi
fn_start_tmux
fn_sleep_time
check_status.sh
if [ "${status}" == "0" ]; then

3
lgsm/functions/command_ts3_server_pass.sh

@ -42,7 +42,8 @@ if [ "${status}" != "0" ]; then
exitbypass="1"
command_stop.sh
fn_serveradmin_password_set
ts3serverpass="0"
parms="inifile=${servercfgfullpath} pid_file=ts3server.pid"
W ts3serverpass="0"
fn_print_info_nl "Restarting server normally"
fn_script_log_info "Restarting server normally"
command_restart.sh

Loading…
Cancel
Save