Browse Source

Indentation

Bob Mottram 10 years ago
parent
commit
90d34fff18
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      install-freedombone.sh

+ 12
- 12
install-freedombone.sh View File

266
 }
266
 }
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.
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
 function remove_default_user {
283
 function remove_default_user {