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