umount all user mounts on logout

This commit is contained in:
Raphael Dannecker 2023-08-16 10:01:37 +02:00
parent 67a9d1e6ef
commit cc4010b1bb
6 changed files with 52 additions and 30 deletions

View file

@ -0,0 +1,3 @@
if [[ "${UID}" -gt 60000 ]]; then
sudo /usr/local/bin/mounthome.sh &
fi