mirror of https://github.com/wulabing/Xray_onekey
修正错误的提示
parent
13edbac863
commit
149109255a
|
@ -180,12 +180,15 @@ dependency_install(){
|
||||||
|
|
||||||
if [[ "${ID}" == "centos" ]];then
|
if [[ "${ID}" == "centos" ]];then
|
||||||
systemctl start rngd && systemctl enable rngd
|
systemctl start rngd && systemctl enable rngd
|
||||||
|
judge "rng-tools 启动"
|
||||||
systemctl start haveged && systemctl enable haveged
|
systemctl start haveged && systemctl enable haveged
|
||||||
|
judge "haveged 启动"
|
||||||
else
|
else
|
||||||
systemctl start rng-tools && systemctl enable rng-tools
|
systemctl start rng-tools && systemctl enable rng-tools
|
||||||
|
judge "rng-tools 启动"
|
||||||
systemctl start haveged && systemctl enable haveged
|
systemctl start haveged && systemctl enable haveged
|
||||||
|
judge "haveged 启动"
|
||||||
fi
|
fi
|
||||||
judge "nginx 编译依赖安装"
|
|
||||||
}
|
}
|
||||||
basic_optimization(){
|
basic_optimization(){
|
||||||
# 最大文件打开数
|
# 最大文件打开数
|
||||||
|
|
Loading…
Reference in New Issue