修正错误的提示

pull/355/head
wulabing 2019-12-26 12:04:11 +08:00
parent 13edbac863
commit 149109255a
1 changed files with 4 additions and 1 deletions

View File

@ -180,12 +180,15 @@ dependency_install(){
if [[ "${ID}" == "centos" ]];then
systemctl start rngd && systemctl enable rngd
judge "rng-tools 启动"
systemctl start haveged && systemctl enable haveged
judge "haveged 启动"
else
systemctl start rng-tools && systemctl enable rng-tools
judge "rng-tools 启动"
systemctl start haveged && systemctl enable haveged
judge "haveged 启动"
fi
judge "nginx 编译依赖安装"
}
basic_optimization(){
# 最大文件打开数