summaryrefslogtreecommitdiff
path: root/system/bit-babbler/README.Slackware
blob: 2e69cb7eafaa2bde9203257b1898b8bb2e7f46da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
To have BitBabbler device(s) begin feeding entropy to the kernel at
boot, add these lines to /etc/rc.d/rc.local:

  # Start BitBabbler TRNG.
  if [ -x /etc/rc.d/rc.seedd ]; then
    . /etc/rc.d/rc.seedd start
  fi

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:

  # Stop BitBabbler TRNG.
  if [ -x /etc/rc.d/rc.seedd ]; then
    . /etc/rc.d/rc.seedd stop
  fi

Additional configuration of BitBabbler devices on boot can be set
in /etc/bit-babbler/seedd.conf.

Finally, ensure relevant files are executable:
  chmod 755 /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.