fs

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

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

Store random seed before killing processes

Diffstat:
bin/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 /