|
|
|
|
@ -135,7 +135,7 @@ send_one_ip(){
|
|
|
|
|
send_many_ip(){
|
|
|
|
|
package=${1}.tar.gz
|
|
|
|
|
iptxt=${2}.txt
|
|
|
|
|
for i in `awk '{print $2}' /data/update/script/$iptxt`
|
|
|
|
|
for i in `awk '{print $2}' /data/update/script/txt/$iptxt`
|
|
|
|
|
do
|
|
|
|
|
echo "正在处理服务器 $i "
|
|
|
|
|
scp "$source_tar/$package" "$i:$destination_dir"
|
|
|
|
|
|