Bob Mottram 10 lat temu
rodzic
commit
7eb0f1d627
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3
    2
      install-freedombone.sh

+ 3
- 2
install-freedombone.sh Wyświetl plik

267
 
267
 
268
 function check_hwrng {
268
 function check_hwrng {
269
     # If hardware random number generation was enabled then make sure that the device exists.
269
     # If hardware random number generation was enabled then make sure that the device exists.
270
-    # if /dev/hwrng is not found than any subsequent cryptographic key generation would
270
+    # if /dev/hwrng is not found then any subsequent cryptographic key generation would
271
     # suffer from low entropy and might be insecure
271
     # suffer from low entropy and might be insecure
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 [ ! -b /dev/hwrng ]; then
276
         ls /dev/hw*
276
         ls /dev/hw*
277
-        echo 'The hardware random number generator is anabled but could not be detected on /dev/hwrng.  There may be a problem with the installation or the Beaglebone hardware.'
277
+        echo 'The hardware random number generator is anabled but could not be detected on'
278
+		echo '/dev/hwrng.  There may be a problem with the installation or the Beaglebone hardware.'
278
         exit 75
279
         exit 75
279
     fi
280
     fi
280
 }
281
 }