Merge pull request #281687 from K900/wantedby-oof

systemd-lib: fix automount generation after 9fbf82d9cb
This commit is contained in:
K900 2024-01-18 08:39:06 +03:00 committed by GitHub
commit cefcf19e1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -435,11 +435,10 @@ in rec {
automountToUnit = name: def: automountToUnit = name: def:
{ inherit (def) aliases wantedBy requiredBy enable overrideStrategy; { inherit (def) aliases wantedBy requiredBy enable overrideStrategy;
text = commonUnitText def + text = commonUnitText def ''
'' [Automount]
[Automount] ${attrsToSection def.automountConfig}
${attrsToSection def.automountConfig} '';
'';
}; };
sliceToUnit = name: def: sliceToUnit = name: def: