Browse Source

Merge pull request #765 from drantor/ts3-change-password

Fix more TS3 change password related issues
pull/767/head
Daniel Gibbs 9 years ago
parent
commit
c8b289671a
  1. 2
      functions/command_start.sh
  2. 1
      functions/command_ts3_server_pass.sh

2
functions/command_start.sh

@ -56,7 +56,7 @@ mv "${scriptlog}" "${scriptlogdate}"
date > "${rootdir}/${lockselfname}"
cd "${executabledir}"
if [ "${ts3serverpass}" == "1" ];then
./ts3server_startscript.sh start serveradmin_password="${newpassword}"
./ts3server_startscript.sh start serveradmin_password="${newpassword}" inifile="${servercfgfullpath}"
else
./ts3server_startscript.sh start inifile="${servercfgfullpath}" > /dev/null 2>&1
fi

1
functions/command_ts3_server_pass.sh

@ -45,6 +45,7 @@ fn_printinfonl "Starting server with new password"
command_start.sh
# Stop server in "new password mode"
command_stop.sh
ts3serverpass="0"
fn_printoknl "Password applied"
fn_scriptlog "New ServerAdmin password applied"
sleep 1

Loading…
Cancel
Save