Bob Mottram 10 gadus atpakaļ
vecāks
revīzija
86e54cf6f7
1 mainītis faili ar 5 papildinājumiem un 4 dzēšanām
  1. 5
    4
      src/freedombone-config

+ 5
- 4
src/freedombone-config Parādīt failu

@@ -329,15 +329,15 @@ function interactive_configuration {
329 329
   trap "rm -f $data" 0 1 2 5 15
330 330
   if [[ $INSTALLING_ON_BBB == "no" ]]; then
331 331
       dialog --backtitle "Random Number Generation" \
332
-          --radiolist "Type of RNG:" 17 40 3 \
332
+          --radiolist "Type of RNG:" 10 40 3 \
333 333
           1 Haveged on \
334
-          2 Beaglebone built-in HRNG off \
334
+          2 "Beaglebone built-in HRNG" off \
335 335
           3 OneRNG off 2> $data
336 336
   else
337 337
       dialog --backtitle "Random Number Generation" \
338
-          --radiolist "Type of RNG:" 17 40 3 \
338
+          --radiolist "Type of RNG:" 10 40 3 \
339 339
           1 Haveged off \
340
-          2 Beaglebone built-in HRNG on \
340
+          2 "Beaglebone built-in HRNG" on \
341 341
           3 OneRNG off 2> $data
342 342
   fi
343 343
   sel=$?
@@ -348,6 +348,7 @@ function interactive_configuration {
348 348
   case $(cat $data) in
349 349
       2) HWRNG_TYPE="beaglebone";;
350 350
       3) HWRNG_TYPE="onerng";;
351
+      255) exit 0;;
351 352
   esac
352 353
   save_configuration_file
353 354