From 81590cefed1b57b39a72bd30b7df7817046efd37 Mon Sep 17 00:00:00 2001 From: wulabing <91d$5gKrmVShheJf> Date: Tue, 24 Dec 2019 16:46:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89rng-tools=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/install.sh b/install.sh index ae8ee97..b04c509 100644 --- a/install.sh +++ b/install.sh @@ -170,19 +170,12 @@ dependency_install(){ ${INS} -y install libpcre3 libpcre3-dev zlib1g-dev dbus fi - ${INS} -y rng-tools - judge "rng-tools 安装" - ${INS} -y 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 systemctl start haveged && systemctl enable haveged else - systemctl start rng-tools && systemctl enable rng-tools systemctl start haveged && systemctl enable haveged fi judge "nginx 编译依赖安装"