rng-tools: uci-fy, default to doing nothing 3422/head
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sun, 30 Oct 2016 22:27:54 +0000 (18:27 -0400)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Mon, 31 Oct 2016 17:17:57 +0000 (13:17 -0400)
commitbce6d283c194f5aa8ed0f98da37245054aa2bca7
tree0ff9955d22734c5b36ee69ed015d20f93712344a
parent2b324358e58dc80bdb2800e4171933f148b811a4
rng-tools: uci-fy, default to doing nothing

Enabling the default configuration will pipe /dev/urandom back into
/dev/random ala the current package behavior.  Because this amounts to
disabling the in-kernel entropy estimation, default disabled.

While here, uci-paramaterize the high watermark.
While here, add a pre-command hook for real RNGs that need 'stty raw'
or other such hooks.  (e.g. the TrueRNG devices)

As offered in github openwrt/packages#3422, take over maintainership.

See github openwrt/packages#3142.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
utils/rng-tools/Makefile
utils/rng-tools/files/rngd.init
utils/rng-tools/files/rngd.uci_defaults [new file with mode: 0644]