diff options
Diffstat (limited to 'init.d/urandom')
-rwxr-xr-x | init.d/urandom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/urandom b/init.d/urandom index 9a03068b..5d3a8404 100755 --- a/init.d/urandom +++ b/init.d/urandom @@ -35,7 +35,7 @@ depend() { save_seed() { local poolsize=1 - if [ -e /proc/sys/kernel/random/poolsize ] ; then + if [ -e /proc/sys/kernel/random/poolsize ]; then poolsize=$(($(cat /proc/sys/kernel/random/poolsize) / 4096)) fi @@ -47,7 +47,7 @@ save_seed() { start() { [ -c /dev/urandom ] || return - if [ -f "${urandom_seed}" ] ; then + if [ -f "${urandom_seed}" ]; then ebegin "Initializing random number generator" cat "${urandom_seed}" > /dev/urandom eend $? "Error initializing random number generator" |