aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-05-28 20:00:55 (GMT)
committerTom Gundersen <teg@jklm.no>2012-05-29 10:48:18 (GMT)
commite09c66ded0f2d4888aafeca812dc972e52eb3972 (patch)
tree3ac2ebcabe990b71c37f1848b5e279dcd872a404 /rc.sysinit
parent854aa04187d4f65607f9b4525ca6645a0db7c9f8 (diff)
downloadinitscripts-e09c66ded0f2d4888aafeca812dc972e52eb3972.tar.xz
random-seed: use the systemd tool
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 1 insertions, 4 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 5696d89..876542a 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -137,10 +137,7 @@ status "Activating Swap" swapon -a
[[ $TIMEZONE ]] && status "Configuring Time Zone" set_timezone "$TIMEZONE"
-RANDOM_SEED=/var/lib/misc/random-seed
-[[ -f $RANDOM_SEED ]] &&
- status "Initializing Random Seed" \
- cp $RANDOM_SEED /dev/urandom
+status 'Initializing Random Seed' /usr/lib/systemd/systemd-random-seed load
# Remove leftover files
remove_leftover