diff --git a/install.sh b/install.sh index 63251d1..54718fe 100644 --- a/install.sh +++ b/install.sh @@ -174,23 +174,23 @@ dependency_install(){ fi ${INS} -y install rng-tools - judge "rng-tools 安装" +# judge "rng-tools 安装" ${INS} -y install haveged - judge "haveged 安装" +# judge "haveged 安装" sed -i -r '/^HRNGDEVICE/d;/#HRNGDEVICE=\/dev\/null/a HRNGDEVICE=/dev/urandom' /etc/default/rng-tools if [[ "${ID}" == "centos" ]];then systemctl start rngd && systemctl enable rngd - judge "rng-tools 启动" +# judge "rng-tools 启动" systemctl start haveged && systemctl enable haveged - judge "haveged 启动" +# judge "haveged 启动" else systemctl start rng-tools && systemctl enable rng-tools - judge "rng-tools 启动" +# judge "rng-tools 启动" systemctl start haveged && systemctl enable haveged - judge "haveged 启动" +# judge "haveged 启动" fi } basic_optimization(){