aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/random-seed-load/up
blob: c5b3868eb47a3ed262caaad04a11f242edf84ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!@shebangdir@/execlineb -P

# ISC license.

fdmove -c 2 1

redirfd -a 2 /dev/null

if -x0 { eltest -e /var/lib/rngseed }
dd	if=/var/lib/rngseed
	of=/dev/random
	bs=4096