Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
dc9b586a1c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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