From c1c3c3666ae92ed6eeeb8eb7655e4c13c3d2f8d1 Mon Sep 17 00:00:00 2001 From: wulabing Date: Mon, 30 Dec 2019 20:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=9D=9E=E5=85=B3=E9=94=AE=E4=BE=9D=E8=B5=96=E7=9A=84=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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(){