From 832b880cbb46b0b2a56c3abfa0be6c7fbcfa64e6 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sat, 18 Jan 2020 10:53:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=20rng-tools=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=9A=84=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a3ed9c0..afb7766 100644 --- a/install.sh +++ b/install.sh @@ -173,7 +173,7 @@ dependency_install(){ ${INS} -y install libpcre3 libpcre3-dev zlib1g-dev dbus fi - ${INS} -y install rng-tools +# ${INS} -y install rng-tools # judge "rng-tools 安装" ${INS} -y install haveged @@ -182,12 +182,12 @@ dependency_install(){ 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 +# 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 +# systemctl start rng-tools && systemctl enable rng-tools # judge "rng-tools 启动" systemctl start haveged && systemctl enable haveged # judge "haveged 启动"