From bd6701616508c5bb21de9166e9b1daa6fe1de769 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sat, 21 Jan 2006 20:58:24 +0000 Subject: fixed random-seed restoration --- rc.sysinit | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rc.sysinit b/rc.sysinit index 3bbdae0..8d1047f 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -173,6 +173,12 @@ if [ "$TIMEZONE" != "" ]; then fi stat_done +if [ -f /var/run/random-seed ]; then + stat_busy "Initializing Random Seed" + /bin/cat /var/run/random-seed >/dev/urandom + stat_done +fi + stat_busy "Removing Leftover Files" /bin/rm -f /etc/nologin &>/dev/null /bin/rm -f /etc/shutdownpid &>/dev/null @@ -200,12 +206,6 @@ fi status "Updating Module Dependencies" /sbin/depmod -A -if [ -f /var/run/random-seed ]; then - stat_busy "Initializing Random Seed" - /bin/cat /var/run/random-seed >/dev/urandom - stat_done -fi - if [ "$KEYMAP" != "" ]; then status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q $KEYMAP fi -- cgit v1.2.3-54-g00ecf