aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2005-04-11 02:07:33 +0000
committerDoug Barton <dougb@FreeBSD.org>2005-04-11 02:07:33 +0000
commit2005d17979e4bbb9d91724466f3d3b97aa05abca (patch)
treed5629b1d6ded9c7bd2c35b94279822fb24e6bbef
parentd02239a3af83fc81b339ccb88bd62482228fe010 (diff)
Notes
-rwxr-xr-xlibexec/save-entropy/save-entropy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/save-entropy/save-entropy.sh b/libexec/save-entropy/save-entropy.sh
index 82b96ca56912..96f1a819be59 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