aboutsummaryrefslogtreecommitdiff
path: root/init.d/urandom
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
committerRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
commitac9279cc0d5a00bc17908b2914941186020cd3ce (patch)
tree850a4fe19917113e75bfd2e79d00b58208468503 /init.d/urandom
parent444f23e2d158389b22d40537fc9b027d9f575229 (diff)
Massive whitespace cleanup
Diffstat (limited to 'init.d/urandom')
-rwxr-xr-xinit.d/urandom4
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"