修改上传文件和初始化环境的脚本

This commit is contained in:
liangtongchuan
2021-12-26 22:31:33 +08:00
parent a1879a5530
commit e2537c1021
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -27,6 +27,12 @@ elif [ ${1} == 'distribute' ] ; then
elif [ ${1} == 'sq1' ] ; then
destUrl="root@sq1:/root/zyz/"
port=3737
elif [ ${1} == 'sq2' ] ; then
destUrl="root@sq2:/root/zyz/"
port=3737
elif [ ${1} == 'sq3' ] ; then
destUrl="root@sq3:/root/zyz/"
port=3737
else
echo "需要一个参数指明服务器"
exit 1;