Skip to content

Instantly share code, notes, and snippets.

@captainpete
Last active October 16, 2017 11:22
Show Gist options
  • Save captainpete/b5b6f2d19abae2e88f14 to your computer and use it in GitHub Desktop.
Save captainpete/b5b6f2d19abae2e88f14 to your computer and use it in GitHub Desktop.

Revisions

  1. captainpete revised this gist Mar 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion infnoise
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #!/sbin/runscript
    #!/sbin/openrc-run

    description="infnoise - Feed entropy pool using the Infinite Noise TRNG"
    pidfile="/var/run/infnoise.pid"
  2. captainpete created this gist Mar 5, 2015.
    12 changes: 12 additions & 0 deletions infnoise
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    #!/sbin/runscript

    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
    }