Răsfoiți Sursa

Set ts3serverpass to 0 after password change

After we started the server with the new password we should reset the ts3serverpass variable
otherwise it would start the server again in new password mode.
Felix Beckmann 10 ani în urmă
părinte
comite
dc9b586a1c
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      functions/command_ts3_server_pass.sh

+ 1 - 0
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