main
parent
61acb57d8f
commit
4d8da0041b
4
main.sh
4
main.sh
|
|
@ -111,12 +111,12 @@ game_send_package() {
|
|||
restart_server "core" "$channel"
|
||||
fi
|
||||
else
|
||||
cat "txt/$channel" | while read -r ip; do
|
||||
while read -r ip; do
|
||||
unzip_package $ip $package $source_tar $destination_dir
|
||||
if [[ $reboot -eq 1 ]]; then
|
||||
restart_server "core" "$ip"
|
||||
fi
|
||||
done
|
||||
done < "txt/$channel"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue