fix
This commit is contained in:
parent
aeca2ab94a
commit
e446730a2f
1 changed files with 4 additions and 2 deletions
|
|
@ -16,8 +16,10 @@ while true; do
|
|||
if [ $EXITSTATUS -eq 0 ]; then
|
||||
if [ "$LOCALAPPVER" != "$REMOTEAPPVER" ]; then
|
||||
for n in {60..1}; do
|
||||
rcon -a "$rconip" -p "$rconpass" "say 'THE SERVER WILL BE RESTARTED IN $n'"
|
||||
sleep 1
|
||||
for rconip in $(echo "${rconlist//,/ }"); do
|
||||
rcon -a "$rconip" -p "$rconpass" "say 'THE SERVER WILL BE RESTARTED IN $n'"
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
/opt/restart-ins.sh
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue