Bob Mottram 10 år sedan
förälder
incheckning
90d34fff18
1 ändrade filer med 12 tillägg och 12 borttagningar
  1. 12
    12
      install-freedombone.sh

+ 12
- 12
install-freedombone.sh Visa fil

@@ -266,18 +266,18 @@ function argument_checks {
266 266
 }
267 267
 
268 268
 function check_hwrng {
269
-    # If hardware random number generation was enabled then make sure that the device exists.
270
-    # if /dev/hwrng is not found then any subsequent cryptographic key generation would
271
-    # suffer from low entropy and might be insecure
272
-    if [ ! -f /etc/default/rng-tools ]; then
273
-        return
274
-    fi
275
-    if [ ! -b /dev/hwrng ]; then
276
-        ls /dev/hw*
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.'
279
-        exit 75
280
-    fi
269
+  # If hardware random number generation was enabled then make sure that the device exists.
270
+  # if /dev/hwrng is not found then any subsequent cryptographic key generation would
271
+  # suffer from low entropy and might be insecure
272
+  if [ ! -f /etc/default/rng-tools ]; then
273
+      return
274
+  fi
275
+  if [ ! -b /dev/hwrng ]; then
276
+      ls /dev/hw*
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.'
279
+      exit 75
280
+  fi
281 281
 }
282 282
 
283 283
 function remove_default_user {