瀏覽代碼

Try again

Bob Mottram 10 年之前
父節點
當前提交
da9d95f738
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

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