Note that the @ in the filename is correct and that the file should be placed at /etc/systemd/system/onerng@.service - this is due to the file being a templated file that will be called with the device name as parameter.

onerng@.service
[Unit]
Description=Setup OneRNG on /dev/onerng%i
 
[Service]
Type=oneshot
User=root
ExecStart=/bin/sh -c "/bin/stty -F /dev/onerng%i raw -echo; /bin/echo cmd0 >/dev/onerng%i; /bin/echo cmdO >/dev/onerng%i"
RemainAfterExit=true
 
[Install]
WantedBy=sysinit.target

hardware/onerng/onerng.service.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.