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:
parent
0a8638ad44
commit
ca417ad491
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue