urandom: move seed from /var/run to /var/lib
We want the seed to be preserved across reboots, so move it to /var/lib. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
3baca9a35c
commit
d8e739e19a
@ -2,4 +2,4 @@
|
||||
# (say for crypt swap), so you will need to customize this
|
||||
# behavior. If you have /var on a separate partition, then
|
||||
# make sure this path lives on your root device somewhere.
|
||||
urandom_seed="/var/run/random-seed"
|
||||
urandom_seed="/var/lib/misc/random-seed"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
|
||||
# Released under the 2-clause BSD license.
|
||||
|
||||
: ${urandom_seed:=${URANDOM_SEED:-/var/run/random-seed}}
|
||||
: ${urandom_seed:=${URANDOM_SEED:-/var/lib/misc/random-seed}}
|
||||
description="Initializes the random number generator."
|
||||
|
||||
depend()
|
||||
|
Loading…
Reference in New Issue
Block a user