about summary refs log tree commit diff
path: root/3
diff options
context:
space:
mode:
Diffstat (limited to '3')
-rwxr-xr-x33
1 files changed, 1 insertions, 2 deletions
diff --git a/3 b/3
index 4a4781e..726d26a 100755
--- a/3
+++ b/3
@@ -15,8 +15,7 @@ sv exit /var/service/*
 [ -x /etc/rc.shutdown ] && /etc/rc.shutdown
 
 if [ -z "$VIRTUALIZATION" ]; then
-    msg "Saving random seed..."
-    ( umask 077; bytes=$(cat /proc/sys/kernel/random/poolsize) || bytes=512; dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=$bytes >/dev/null 2>&1 )
+    seedrng
 fi
 
 if [ -z "$VIRTUALIZATION" -a -n "$HARDWARECLOCK" ]; then