3
0
Fork 0
forked from mirrors/nixpkgs

Don't run hwclock if /dev/rtc doesn't exist

E.g. on EC2 instances.

Backport: 14.04
This commit is contained in:
Eelco Dolstra 2014-05-05 16:23:38 +02:00
parent 24cbe874d6
commit 5bfe944907

View file

@ -13,7 +13,7 @@ with lib;
unitConfig = { unitConfig = {
DefaultDependencies = false; DefaultDependencies = false;
ConditionVirtualization = "!systemd-nspawn"; ConditionPathExists = "/dev/rtc";
}; };
serviceConfig = { serviceConfig = {