我安装rng-tools
后发现 中有一个脚本/etc/init.d
。这是否意味着它会在启动时运行?还是我仍然必须运行rngd -r /etc/random
或/etc/init.d/rng-tools start
?
答案1
它似乎在启动时运行。它显示我在重启后运行时的情况:
sudo service rng-tools status
下列:
● rng-tools.service
Loaded: loaded (/etc/init.d/rng-tools; bad; vendor preset: enabled)
Active: active (exited) since Do 2016-05-26 20:17:21 CEST; 22min ago
Docs: man:systemd-sysv-generator(8)
Process: 1599 ExecStart=/etc/init.d/rng-tools start (code=exited, status=0/SUCCESS)
Mai 26 20:17:21 NEXUS-ONE systemd[1]: Starting rng-tools.service...
Mai 26 20:17:21 NEXUS-ONE rng-tools[1599]: Starting Hardware RNG entropy gatherer daemon: rngd.
Mai 26 20:17:21 NEXUS-ONE systemd[1]: Started rng-tools.service.