Use RNG selector
This commit is contained in:
parent
d971f4f75f
commit
ca102a3820
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue