[arch-general] [PATCH 36/48] Bashify setting the random seed.
Victor Lowther
victor.lowther at gmail.com
Wed Jun 30 17:47:45 EDT 2010
---
rc.sysinit | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index 037a9f2..217dacf 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -265,7 +265,7 @@ fi
stat_done
RANDOM_SEED=/var/lib/misc/random-seed
-if [ -f $RANDOM_SEED ]; then
+if [[ -f $RANDOM_SEED ]]; then
stat_busy "Initializing Random Seed"
/bin/cat $RANDOM_SEED > /dev/urandom
stat_done
--
1.7.1
More information about the arch-general
mailing list