Don't run hwclock if /etc/ is not writable

This commit is contained in:
Samuel Tardieu 2024-11-03 10:35:20 +01:00
parent d0d0a08358
commit 114ef67cbb

View File

@ -14,6 +14,7 @@ with lib;
unitConfig = {
DefaultDependencies = false;
ConditionPathExists = "/dev/rtc";
ConditionPathIsReadWrite = "/etc/";
};
serviceConfig = {