diff options
author | Judd Vinet <judd@archlinux.org> | 2006-01-21 20:58:24 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2006-01-21 20:58:24 +0000 |
commit | bd6701616508c5bb21de9166e9b1daa6fe1de769 (patch) | |
tree | 3c20f80e4f17fdbe5e1bc9a161cc3165aad61f40 | |
parent | e4af7e36ba40ab49993fcc4232dcebdedc1763b9 (diff) |
fixed random-seed restoration
-rwxr-xr-x | rc.sysinit | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |