diff options
author | dougb <dougb@FreeBSD.org> | 2005-04-11 02:07:33 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2005-04-11 02:07:33 +0000 |
commit | bb01989367c3f476ac88471fbcbb5fa6e21ad15d (patch) | |
tree | d5629b1d6ded9c7bd2c35b94279822fb24e6bbef /libexec | |
parent | a3b2d3191d684cc192012aa160695992e980f7fc (diff) | |
download | FreeBSD-src-bb01989367c3f476ac88471fbcbb5fa6e21ad15d.zip FreeBSD-src-bb01989367c3f476ac88471fbcbb5fa6e21ad15d.tar.gz |
The script mistakenly ignores the entropy_save_sz variable from
rc.conf[.local]. Fix this, and leave the default as 2048.
Update the copyright year to include the present.
Update the assignment of the copyright to be me personally,
instead of "The FreeBSD Project" which is not a legal entity,
and therefore not a proper assignee. My intention remains the
same however, that this code continue to be BSD licensed, and
freely available to anyone that wants it under those terms.
PR: conf/75722
Submitted by: Nicolas Rachinsky <list@rachinsky.de>
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/save-entropy/save-entropy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/save-entropy/save-entropy.sh b/libexec/save-entropy/save-entropy.sh index 82b96ca..96f1a81 100755 --- a/libexec/save-entropy/save-entropy.sh +++ b/libexec/save-entropy/save-entropy.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2001 The FreeBSD Project +# Copyright (c) 2001-2005 Douglas Barton, DougB@FreeBSD.org # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -86,7 +86,7 @@ it will not be rotated. Entropy file harvesting is aborted." done dd if=/dev/random of="${entropy_dir}/saved-entropy.1" \ - bs=2048 count=1 2> /dev/null + bs="$entropy_save_sz" count=1 2> /dev/null exit 0 |