This commit is contained in:
midoks
2022-08-01 13:32:14 +08:00
parent 881d21d1d8
commit 5ae72b63a2
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ Install_mysql()
fi
MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}')
if [ "${cpuCore}" != "1" ] &&& [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" -gt "${MEM_INFO}" ];then
cpuCore="${MEM_INFO}"
fi
+1 -1
View File
@@ -46,7 +46,7 @@ Install_mysql()
fi
MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}')
if [ "${cpuCore}" != "1" ] &&& [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" -gt "${MEM_INFO}" ];then
cpuCore="${MEM_INFO}"
fi
+1 -1
View File
@@ -48,7 +48,7 @@ Install_mysql()
fi
MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}')
if [ "${cpuCore}" != "1" ] &&& [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" -gt "${MEM_INFO}" ];then
cpuCore="${MEM_INFO}"
fi
+1 -1
View File
@@ -85,7 +85,7 @@ Install_mysql()
fi
MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}')
if [ "${cpuCore}" != "1" ] &&& [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then
if [ "${cpuCore}" -gt "${MEM_INFO}" ];then
cpuCore="${MEM_INFO}"
fi
+1
View File
@@ -224,6 +224,7 @@ function cc()
-- end
-- return false
-- end
end
--强制验证是否使用正常浏览器访问网站
function waf_cc_increase()