Skip to content

Commit

Permalink
set default feed-frequency of 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-domke committed Feb 14, 2023
1 parent 655038d commit 19bb698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/infnoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void term(int signum)

static void initOpts(struct opt_struct *opts) {
opts->outputMultiplier = 0u;
opts->feedFreq = 0u;
opts->feedFreq = 30u;
opts->daemon = false;
opts->debug = false;
opts->devRandom = false;
Expand Down Expand Up @@ -184,7 +184,7 @@ int main(int argc, char **argv) {
" -r, --raw - do not whiten the output\n"
" -m, --multiplier <value> - write 256 bits * value for each 512 bits written to\n"
" the Keccak sponge. Default of 0 means write all the entropy.\n"
" -f, --feed-frequency - feed interval for /dev/random\n"
" -f, --feed-frequency - feed interval for /dev/random, in seconds (default: 30)\n"
" -n, --no-output - do not write random output data\n"
" -p, --pidfile <file> - write process ID to file\n"
" -d, --daemon - run in the background\n"
Expand Down

0 comments on commit 19bb698

Please sign in to comment.