This commit is contained in:
Bob Mottram 2015-06-13 13:04:09 +01:00
parent 2eec544b49
commit 86e54cf6f7
1 changed files with 5 additions and 4 deletions

View File

@ -329,15 +329,15 @@ function interactive_configuration {
trap "rm -f $data" 0 1 2 5 15
if [[ $INSTALLING_ON_BBB == "no" ]]; then
dialog --backtitle "Random Number Generation" \
--radiolist "Type of RNG:" 17 40 3 \
--radiolist "Type of RNG:" 10 40 3 \
1 Haveged on \
2 Beaglebone built-in HRNG off \
2 "Beaglebone built-in HRNG" off \
3 OneRNG off 2> $data
else
dialog --backtitle "Random Number Generation" \
--radiolist "Type of RNG:" 17 40 3 \
--radiolist "Type of RNG:" 10 40 3 \
1 Haveged off \
2 Beaglebone built-in HRNG on \
2 "Beaglebone built-in HRNG" on \
3 OneRNG off 2> $data
fi
sel=$?
@ -348,6 +348,7 @@ function interactive_configuration {
case $(cat $data) in
2) HWRNG_TYPE="beaglebone";;
3) HWRNG_TYPE="onerng";;
255) exit 0;;
esac
save_configuration_file