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

# ISC license.

fdmove -c 2 1

umask 377

redirfd -a 2 /dev/null

dd	if=/dev/random
	of=/var/lib/rngseed
	count=1
	bs=4096