Add comment line to prevent empty content

This commit is contained in:
Raphael Dannecker 2026-03-04 10:39:07 +01:00
parent cf5e11d7f1
commit c90e626e3d

View file

@ -33,6 +33,7 @@
dest: /etc/profile.d/lmn-logout.sh
mode: '0755'
content: |
# logout script (may be empty)
{% if localhome_logout_missing_serverhome %}
[[ "${UID}" -gt 10000 ]] && ! findmnt /srv/samba/schools/default-school > /dev/null && exit 0
{% endif %}