From aefe9c8259bdef20db2e85d68bacb399b57dda2c Mon Sep 17 00:00:00 2001 From: Niels Peretzke Date: Wed, 15 Dec 2021 23:35:15 +0100 Subject: [PATCH] Servernamen entfernt :) --- control.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/control.sh b/control.sh index e2bc733..ad1ade4 100644 --- a/control.sh +++ b/control.sh @@ -25,16 +25,16 @@ do ;; "Server neustarten") echo "Server wird neugestartet" - tmux send-keys -t $INSTANCE_NAME.0 say' [SRP] Automatischer Neustart in 180 Sekunden!' ENTER + tmux send-keys -t $INSTANCE_NAME.0 say' Automatischer Neustart in 180 Sekunden!' ENTER sleep 120 - tmux send-keys -t $INSTANCE_NAME.0 say' [SRP] Automatischer Neustart in 60 Sekunden!' ENTER + tmux send-keys -t $INSTANCE_NAME.0 say' Automatischer Neustart in 60 Sekunden!' ENTER sleep 40 - tmux send-keys -t $INSTANCE_NAME.0 say' [SRP] Automatischer Neustart in 30 Sekunden!' ENTER + tmux send-keys -t $INSTANCE_NAME.0 say' Automatischer Neustart in 30 Sekunden!' ENTER sleep 20 COUNT=10 while [ $COUNT -gt 0 ]; do - tmux send-keys -t $INSTANCE_NAME.0 say' [SRP] Automatischer Neustart in ' $COUNT ' Sekunden!' ENTER + tmux send-keys -t $INSTANCE_NAME.0 say' Automatischer Neustart in ' $COUNT ' Sekunden!' ENTER let COUNT=COUNT-1 sleep 1 done