Procházet zdrojové kódy

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 před 10 roky
rodič
revize
dc9b586a1c
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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