dd is too verbose writting entropy, redirect its output to /dev/null
Add period at the end of sentence
This commit is contained in:
parent
5976ee7e31
commit
e3b66023f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63689
@ -32,11 +32,12 @@ case ${entropy_file} in
|
|||||||
[Nn][Oo] | '')
|
[Nn][Oo] | '')
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Writing entropy file"
|
echo "Writing entropy file."
|
||||||
rm -f ${entropy_file}
|
rm -f ${entropy_file}
|
||||||
touch ${entropy_file} && \
|
touch ${entropy_file} && \
|
||||||
chmod 600 ${entropy_file} && \
|
chmod 600 ${entropy_file} && \
|
||||||
dd if=/dev/random of=${entropy_file} bs=4096 count=1
|
dd if=/dev/random of=${entropy_file} \
|
||||||
|
bs=4096 count=1 2> /dev/null
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user