about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-03-25 23:43:03 -0600
committerMichael Aldridge <aldridge.mac@gmail.com>2022-03-26 00:49:27 -0500
commitb5a9f57837d949f42d39066576c6a0bcdbdb8e37 (patch)
tree139d76b59d3aa4231c69346b05c18f84b5ee7978
parent2b97bc31e88bd40496da3cb1dcd1a86c75b6fc84 (diff)
downloadrunit-void-b5a9f57837d949f42d39066576c6a0bcdbdb8e37.tar.gz
runit-void-b5a9f57837d949f42d39066576c6a0bcdbdb8e37.tar.xz
runit-void-b5a9f57837d949f42d39066576c6a0bcdbdb8e37.zip
Print message when seeding RNG
-rwxr-xr-x31
-rw-r--r--core-services/05-misc.sh1
2 files changed, 2 insertions, 0 deletions
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