Since hrng enable and ssh host key generation is done with the image builder we no longer need the reboot

This commit is contained in:
Bob Mottram 2015-11-21 13:46:46 +00:00
parent 0a8638ad44
commit ca417ad491
1 changed files with 17 additions and 17 deletions

View File

@ -6164,18 +6164,18 @@ function configure_ssh {
if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then
return return
fi fi
echo '' #echo ''
echo '' #echo ''
echo ' *** Rebooting to initialise ssh settings and random number generator ***' #echo ' *** Rebooting to initialise ssh settings and random number generator ***'
echo '' #echo ''
echo " *** Reconnect via ssh on port $SSH_PORT, then run this script again ***" #echo " *** Reconnect via ssh on port $SSH_PORT, then run this script again ***"
echo '' #echo ''
echo '## ' >> /etc/motd #echo '## ' >> /etc/motd
echo '## Type "su" and enter your administrator password, then use the command:' >> /etc/motd #echo '## Type "su" and enter your administrator password, then use the command:' >> /etc/motd
echo '## ' >> /etc/motd #echo '## ' >> /etc/motd
echo '## freedombone -c freedombone.cfg' >> /etc/motd #echo '## freedombone -c freedombone.cfg' >> /etc/motd
echo '## ' >> /etc/motd #echo '## ' >> /etc/motd
echo '## to continue the installation.' >> /etc/motd #echo '## to continue the installation.' >> /etc/motd
reboot reboot
} }