fs

morpheus filesystem files
git clone git://git.2f30.org/fs
Log | Files | Refs

commit 67af307cca8936b3e544e223d7d90bf8adc9a2af
parent 2a973e47730977070be64efeedebd4b2a348546d
Author: sin <sin@2f30.org>
Date:   Thu,  6 Mar 2014 12:06:11 +0000

Store random seed before killing processes

Diffstat:
Mbin/rc.shutdown | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/rc.shutdown b/bin/rc.shutdown @@ -40,15 +40,15 @@ if [ -n "$HWCLOCK_PARAMS" ]; then unset TZ fi +echo Storing random seed +dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2>/dev/null + svc -k killall5 -s TERM sleep 3 killall5 -s KILL -echo Storing random seed -dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2>/dev/null - echo Remounting root as read-only mount -o remount,ro /