main
parent
68d4a057bb
commit
8cf3f9f9f6
4
main.sh
4
main.sh
|
|
@ -111,7 +111,7 @@ game_send_package() {
|
|||
restart_server "core" "$channel"
|
||||
fi
|
||||
else
|
||||
cat "$channel" | while read -r ip; do
|
||||
cat "txt/$channel" | while read -r ip; do
|
||||
unzip_package $channel $package $source_tar $destination_dir
|
||||
if [[ $reboot -eq 1 ]]; then
|
||||
restart_server "core" "$ip"
|
||||
|
|
@ -130,7 +130,7 @@ gm_send_package() {
|
|||
if is_valid_ip "$channel"; then
|
||||
unzip_package $channel $package $source_tar $destination_dir
|
||||
else
|
||||
cat "$channel" | while read -r ip; do
|
||||
cat "txt/$channel" | while read -r ip; do
|
||||
unzip_package $ip $package $source_tar $destination_dir
|
||||
done
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue