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