diff options
Diffstat (limited to 'system/bit-babbler/README.Slackware')
-rw-r--r-- | system/bit-babbler/README.Slackware | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/system/bit-babbler/README.Slackware b/system/bit-babbler/README.Slackware index d807cf93ed..2e69cb7eaf 100644 --- a/system/bit-babbler/README.Slackware +++ b/system/bit-babbler/README.Slackware @@ -1,26 +1,28 @@ -To begin: groupadd "bit-babbler", or place a modified copy of -90-bit-babbler.rules (found in /lib/udev/rules.d/) into /etc/udev/rules.d -that uses an existing group (e.g., "wheel"). For consistency, change -socket-group in /etc/bit-babbler/seedd.conf to use the same group. +To have BitBabbler device(s) begin feeding entropy to the kernel at +boot, add these lines to /etc/rc.d/rc.local: -To have your BitBabbler device(s) start feeding entropy to the -kernel at boot: + # Start BitBabbler TRNG. + if [ -x /etc/rc.d/rc.seedd ]; then + . /etc/rc.d/rc.seedd start + fi -1. Add the following lines to /etc/rc.d/rc.local: +It's a good idea to stop devices before capturing the entropy pool +on reboot/shutdown, so add these lines to /etc/rc.d/rc.local_shutdown: - # Start BitBabbler TRNG. - if [ -x /etc/rc.d/rc.seedd ]; then - . /etc/rc.d/rc.seedd start - fi + # Stop BitBabbler TRNG. + if [ -x /etc/rc.d/rc.seedd ]; then + . /etc/rc.d/rc.seedd stop + fi -2. Add the following to /etc/rc.d/rc.local_shutdown: +Additional configuration of BitBabbler devices on boot can be set +in /etc/bit-babbler/seedd.conf. - # Stop BitBabbler TRNG. - if [ -x /etc/rc.d/rc.seedd ]; then - . /etc/rc.d/rc.seedd stop - fi +Finally, ensure relevant files are executable: + chmod 755 /etc/rc.d/rc.local \ + /etc/rc.d/rc.local_shutdown \ + /etc/rc.d/rc.seedd -3. Make sure the execute bit is set (chmod) for - /etc/rc.d/rc.local - /etc/rc.d/rc.local_shutdown - /etc/rc.d/rc.seedd +N.B. If changes to the udev rules are needed, + cp /lib/udev/rules.d/90-bit-babbler.rules /etc/udev/rules.d +and modify the copy in /etc/udev/rules.d. eudev will only use the +copy in /etc/udev/rules.d so long as the filenames are the same. |