Use RNG selector

This commit is contained in:
Bob Mottram 2015-06-14 19:20:59 +01:00
parent d971f4f75f
commit ca102a3820
1 changed files with 1 additions and 8 deletions

View File

@ -4796,13 +4796,6 @@ function random_number_generator {
if grep -Fxq "random_number_generator" $COMPLETION_FILE; then
return
fi
if [[ $INSTALLING_ON_BBB != "yes" ]]; then
# On systems which are not beaglebones assume that
# no hardware random number generator is available
# and use the second best option
apt-get -y install haveged
return
fi
if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
# it is assumed that docker uses the random number
# generator of the host system