Bob Mottram 11 anos atrás
pai
commit
f2676ea295
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Ver arquivo

126
     sed -i 's|#HRNGDEVICE=/dev/hwrng|HRNGDEVICE=/dev/hwrng|g' /etc/default/rng-tools
126
     sed -i 's|#HRNGDEVICE=/dev/hwrng|HRNGDEVICE=/dev/hwrng|g' /etc/default/rng-tools
127
     # TODO there should be a system restart at this point to enable /dev/hwrng
127
     # TODO there should be a system restart at this point to enable /dev/hwrng
128
     service rng-tools restart
128
     service rng-tools restart
129
+	# Test that it works
130
+	cat /dev/hwrng | rngtest -c 1000
129
   else
131
   else
130
 	apt-get -y install haveged
132
 	apt-get -y install haveged
131
   fi
133
   fi