From 62903f2081fed5549904445defb6cec1679ff8a0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Sep 2014 10:44:23 +0100 Subject: [PATCH] Reboot before ssh key generation --- install-freedombone.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 63db76bf..8175d571 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -157,8 +157,6 @@ function random_number_generator { if [ $USE_HWRNG == "yes" ]; then apt-get -y install rng-tools sed -i 's|#HRNGDEVICE=/dev/hwrng|HRNGDEVICE=/dev/hwrng|g' /etc/default/rng-tools - echo 'random_number_generator' >> $COMPLETION_FILE - reboot else apt-get -y install haveged fi @@ -184,6 +182,7 @@ function configure_ssh { service ssh restart apt-get -y install fail2ban echo 'configure_ssh' >> $COMPLETION_FILE + reboot } function regenerate_ssh_keys {