mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
initscripts: Add support for /etc/default/urandom
Source /etc/default/urandom if present. This allows the rootfs to remain read-only while enabling the user to override the location of the random seed file. (From OE-Core rev: 415e1a4ac8120b28118671698459b098c965a4f6) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0327db6b07
commit
b163ba19de
@@ -16,6 +16,7 @@ test -c /dev/urandom || exit 0
|
||||
RANDOM_SEED_FILE=/var/lib/urandom/random-seed
|
||||
|
||||
. /etc/default/rcS
|
||||
[ -f /etc/default/urandom ] && . /etc/default/urandom
|
||||
|
||||
case "$1" in
|
||||
start|"")
|
||||
|
||||
Reference in New Issue
Block a user