diff --git a/src/freedombone b/src/freedombone index 5ebf9dc2..662619a8 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6382,24 +6382,6 @@ function configure_ssh { apt-get -y install fail2ban echo 'configure_ssh' >> $COMPLETION_FILE - # Don't reboot if installing within docker - # random numbers will come from the host system - if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then - return - fi - #echo '' - #echo '' - #echo ' *** Rebooting to initialise ssh settings and random number generator ***' - #echo '' - #echo " *** Reconnect via ssh on port $SSH_PORT, then run this script again ***" - #echo '' - #echo '## ' >> /etc/motd - #echo '## Type "su" and enter your administrator password, then use the command:' >> /etc/motd - #echo '## ' >> /etc/motd - #echo '## freedombone -c freedombone.cfg' >> /etc/motd - #echo '## ' >> /etc/motd - #echo '## to continue the installation.' >> /etc/motd - #reboot } # see https://stribika.github.io/2015/01/04/secure-secure-shell.html