[arch-projects] [RFC initscripts 27/29] Store new random seed after loading

Matthew Monaco dgbaley27 at 0x01b.net
Fri May 18 12:22:21 EDT 2012


From: Matthew Monaco <matthew.monaco at 0x01b.net>

This will prevent the system from booting with a previous seed in the
event that rc.shutdown is not run cleanly.
---
 rc.sysinit |    1 +
 1 file changed, 1 insertion(+)

diff --git a/rc.sysinit b/rc.sysinit
index 04ee0fb..b95defc 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -189,6 +189,7 @@ status "Activating Swap" swapon -a
 [[ $TIMEZONE ]] && status "Configuring Time Zone" set_timezone "$TIMEZONE"
 
 status "Initializing Random Seed" load_random_seed
+status "Storing new Random Seed" store_random_seed
 
 # Remove leftover files
 remove_leftover
-- 
1.7.10.2



More information about the arch-projects mailing list