File: README.md

package info (click to toggle)
infnoise 0.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 27,304 kB
  • sloc: ansic: 2,177; sh: 251; python: 146; makefile: 65
file content (20 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Init scripts

Scripts in this folder are for use in systems where the Infnoise hardware is always present and the user wishes to run `infnoise` automatically as a system service with `--dev-random` enabled.

Should someone create distribution packages for infnoise in future, hopefully these will help!

## RPM, DEB and ArchLinux packages
The prebuilt packages availble for .rpm and .deb based distros described in the [README](../README.md) are built using a combination of a systemd unit and udev rules 
which start the service when the Infinite Noise TRNG is connected and also stops it immediately on disconnect.

## Contents

- `infnoise.gentoo.openrc`: OpenRC, tested in Gentoo, untested in Alpine Linux, FreeBSD, TrueOS
- `infnoise.openrc`: OpenRC, ?
- `infnoise.conf`: Upstart, tested in Ubuntu 14.04, 16.04 (requires upstart install)
- `infnoise.service`: Systemd, works for CentOS, Ubuntu, Debian, ArchLinux
- `infnoise.service.bin`: Same as infnoise.service, binary path = /usr/bin/ - uses config file from /etc/infnoise.conf
- `infnoise.service.sbin`: Same as infnoise.service, binary path = /usr/sbin/ - uses config file from /etc/infnoise.conf
- `infnoise.conf.systemd`: Config file for the systemd service, to set multiplier and serial number of device
- `75-infnoise.rules`: udev rule to be used together with the systemd service