Browse Source

Record completion of random number generator install

Bob Mottram 10 years ago
parent
commit
802e7fcad6
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh View File

3194
       # no hardware random number generator is available
3194
       # no hardware random number generator is available
3195
       # and use the second best option
3195
       # and use the second best option
3196
       apt-get -y --force-yes install haveged
3196
       apt-get -y --force-yes install haveged
3197
+      echo 'random_number_generator' >> $COMPLETION_FILE
3197
       return
3198
       return
3198
   fi
3199
   fi
3199
   if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
3200
   if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
3200
       # it is assumed that docker uses the random number
3201
       # it is assumed that docker uses the random number
3201
       # generator of the host system
3202
       # generator of the host system
3203
+      echo 'random_number_generator' >> $COMPLETION_FILE
3202
       return
3204
       return
3203
   fi
3205
   fi
3204
   if [[ $USE_HWRNG == "yes" ]]; then
3206
   if [[ $USE_HWRNG == "yes" ]]; then