openrc/init.d
Jason A. Donenfeld 076c2552ae Use seedrng for seeding the random number generator
The RNG can't actually be seeded from a shell script, due to the
reliance on ioctls. For this reason, the seedrng project provides a
basic script meant to be copy and pasted into projects like OpenRC and
tweaked as needed: https://git.zx2c4.com/seedrng/about/

This commit imports it into OpenRC and wires up /etc/init.d/urandom to
call it. It shouldn't be called by other things on the system, so it
lives in rc_sbindir.

Closes #506.
Closes #507.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-03-26 19:16:27 -05:00
..
.gitignore Create save-keymaps and save-ktermencoding services 2018-11-07 08:55:44 -06:00
adjkerntz.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
agetty.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
binfmt.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
bootmisc.in init.d/bootmisc.in: prevent error due to nonexistant file 2022-01-30 01:53:10 -05:00
cgroups.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
consolefont.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
devd.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
devdb.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
devfs.in init.d/devfs: default mount /dev noexec 2022-01-30 01:53:25 -05:00
dmesg.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
dumpon.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
encswap.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
fsck.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
hostid.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
hostname.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
hwclock.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
ipfw.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
keymaps.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
killprocs.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
local.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
localmount.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
loopback.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
Makefile Create save-keymaps and save-ktermencoding services 2018-11-07 08:55:44 -06:00
meson.build fix filename in FreeBSD meson build 2021-12-30 18:41:38 -06:00
mixer.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
modules.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
mount-ro.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
moused.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
mtab.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
net-online.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
netmount.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
network.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
newsyslog.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
nscd.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
numlock.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
osclock.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
pf.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
powerd.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
procfs.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
rarpd.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
rc-enabled.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
root.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
rpcbind.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
runsvdir.in supervise runsvdir daemon 2021-12-20 22:32:36 -06:00
s6-svscan.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
save-keymaps.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
save-termencoding.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
savecache.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
savecore.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
staticroute.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
swap-blk.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
swap.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
swclock.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
syscons.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
sysctl.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
sysfs.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
syslogd.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
termencoding.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
ttys.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00
urandom.in Use seedrng for seeding the random number generator 2022-03-26 19:16:27 -05:00
wscons.in use HEAD in git URIs to point to the default branch 2021-12-20 20:07:00 -05:00