From b5a9f57837d949f42d39066576c6a0bcdbdb8e37 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 25 Mar 2022 23:43:03 -0600 Subject: Print message when seeding RNG --- 3 | 1 + core-services/05-misc.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/3 b/3 index 726d26a..469d437 100755 --- a/3 +++ b/3 @@ -15,6 +15,7 @@ sv exit /var/service/* [ -x /etc/rc.shutdown ] && /etc/rc.shutdown if [ -z "$VIRTUALIZATION" ]; then + msg "Saving random number generator seed..." seedrng fi diff --git a/core-services/05-misc.sh b/core-services/05-misc.sh index 3468e9c..d63ce6b 100644 --- a/core-services/05-misc.sh +++ b/core-services/05-misc.sh @@ -4,6 +4,7 @@ install -m0664 -o root -g utmp /dev/null /run/utmp halt -B # for wtmp if [ -z "$VIRTUALIZATION" ]; then + msg "Seeding random number generator..." seedrng || true fi -- cgit 1.4.1