Browse Source

Servernamen entfernt :)

main
Niels Peretzke 3 years ago
parent
commit
aefe9c8259
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      control.sh

+ 4
- 4
control.sh View File

@ -25,16 +25,16 @@ do
;; ;;
"Server neustarten") "Server neustarten")
echo "Server wird neugestartet" 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 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 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 sleep 20
COUNT=10 COUNT=10
while [ $COUNT -gt 0 ]; do 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 let COUNT=COUNT-1
sleep 1 sleep 1
done done


Loading…
Cancel
Save