Merge pull request #80920 from worldofpeace/rngd-cleanup-shutdown
nixos/rngd: fix clean shutdown
This commit is contained in:
commit
e906014d4b
@ -37,6 +37,13 @@ in
|
|||||||
|
|
||||||
after = [ "dev-random.device" ];
|
after = [ "dev-random.device" ];
|
||||||
|
|
||||||
|
# Clean shutdown without DefaultDependencies
|
||||||
|
conflicts = [ "shutdown.target" ];
|
||||||
|
before = [
|
||||||
|
"sysinit.target"
|
||||||
|
"shutdown.target"
|
||||||
|
];
|
||||||
|
|
||||||
description = "Hardware RNG Entropy Gatherer Daemon";
|
description = "Hardware RNG Entropy Gatherer Daemon";
|
||||||
|
|
||||||
# rngd may have to start early to avoid entropy starvation during boot with encrypted swap
|
# rngd may have to start early to avoid entropy starvation during boot with encrypted swap
|
||||||
|
Loading…
Reference in New Issue
Block a user