Add an option to force logout if the home on server fails to mount
This commit is contained in:
parent
e5bf6054fe
commit
513d29d628
4 changed files with 550 additions and 508 deletions
|
@ -34,6 +34,6 @@
|
|||
mode: '0755'
|
||||
content: |
|
||||
[[ "${UID}" -gt 10000 ]] && ! findmnt "/lmn/media/${USER}/home" > /dev/null && exit 0
|
||||
{% if 'teacherlaptop' not in group_names %}
|
||||
{% if localhome_logout_missing_serverhome %}
|
||||
[[ "${UID}" -gt 10000 ]] && ! findmnt /srv/samba/schools/default-school > /dev/null && exit 0
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue