[arch-projects] [PATCH initscripts 4/4] rc.sysinit: store random seed after loading
Matthew Monaco
dgbaley27 at 0x01b.net
Tue Mar 13 21:27:51 EDT 2012
From: Matthew Monaco <matthew.monaco at 0x01b.net>
This will prevent the system from booting with a previous seed in case
rc.shutdown was not run for whatever reason.
---
rc.sysinit | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rc.sysinit b/rc.sysinit
index 7b9c344..aff48bf 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -224,6 +224,8 @@ status "Activating Swap" swapon -a
(( $RANDOM_SEED_LOADED )) || status "Initializing Random Seed" load_random_seed
+status "Saving Random Seed" store_random_seed
+
# Remove leftover files
remove_leftover
--
1.7.9.4
More information about the arch-projects
mailing list