Update install.sh

This commit is contained in:
Mr Chen
2023-11-17 18:30:41 +08:00
parent 80e3a73fa4
commit f41ef634bf
+7
View File
@@ -17,6 +17,13 @@ VERSION=1.6.22
Install_LVS(){ Install_LVS(){
mkdir -p $serverPath/source mkdir -p $serverPath/source
which ipvsadm
if [ "$?" == "0" ];then
echo '已安装LVS!!'
exit 0
fi
echo '正在安装LVS...' echo '正在安装LVS...'
# 检测平台命令 # 检测平台命令