core: set private section name for automount units
authorDan Callaghan <dan.callaghan@opengear.com>
Fri, 3 Jul 2020 09:13:08 +0000 (19:13 +1000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Jul 2020 08:26:33 +0000 (10:26 +0200)
commit19339f74b5a33d722fa807522b51788397df0636
tree01dee49cb9ee607b539f1e451419f1cacc349b1e
parenta1c5ffbab8078d4be73e6f39647b89a25d8db20c
core: set private section name for automount units

Because this was left unset, the unit_write_setting() function was
refusing to write out the automount-specific TimeoutIdleSec= and
DirectoryMode= settings when creating transient automount units.
Set it to the proper value in line with other unit types.

(cherry picked from commit 2fadbb4535108406384a5d63c1ad3082f845c646)
src/core/automount.c