Last active
October 16, 2017 11:22
-
-
Save captainpete/b5b6f2d19abae2e88f14 to your computer and use it in GitHub Desktop.
Infinite Noise Gentoo Init Script (/etc/init.d/infnoise)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/openrc-run | |
description="infnoise - Feed entropy pool using the Infinite Noise TRNG" | |
pidfile="/var/run/infnoise.pid" | |
command="/usr/local/sbin/infnoise" | |
command_args="--dev-random" | |
start_stop_daemon_args="--make-pidfile --background" | |
depend() { | |
before urandom | |
provide random | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated for
openrc-run
.