Browse Source

Try making it a file

Bob Mottram 10 years ago
parent
commit
85c9a079b4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh View File

272
   if [ ! -f /etc/default/rng-tools ]; then
272
   if [ ! -f /etc/default/rng-tools ]; then
273
       return
273
       return
274
   fi
274
   fi
275
-  if [ ! -b /dev/hwrng ]; then
275
+  if [ ! -f /dev/hwrng ]; then
276
       ls /dev/hw*
276
       ls /dev/hw*
277
       echo 'The hardware random number generator is enabled but could not be detected on'
277
       echo 'The hardware random number generator is enabled but could not be detected on'
278
       echo '/dev/hwrng.  There may be a problem with the installation or the Beaglebone hardware.'
278
       echo '/dev/hwrng.  There may be a problem with the installation or the Beaglebone hardware.'