diff --git a/misc/entropy_hwgen.sh b/misc/entropy_hwgen.sh index 3fea241da..5776d7a39 100755 --- a/misc/entropy_hwgen.sh +++ b/misc/entropy_hwgen.sh @@ -7,4 +7,6 @@ ifconfig_output=$(/sbin/ifconfig -a | grep HWaddr 2> /dev/null) lspci_output=$(/usr/sbin/lspci -n | cut -d" " -f 3- 2> /dev/null) -echo $ifconfig_output$lspci_output | /usr/bin/sha256sum | cut -d" " -f 1 +random_seed=$(echo $RANDOM$RANDOM$RANDOM) +echo $ifconfig_output$lspci_output$random_seed | /usr/bin/sha256sum | \ + cut -d" " -f 1