mirror of
https://github.com/gjkcz/ansible-void.git
synced 2026-11-12 07:20:10 +01:00
Add session cleanup script
This commit is contained in:
1 parent
14df18f1d4
commit
19af9b8d2c
2 files changed
+16
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Session cleanup for user student on logout
|
||||
|
||||
if [ "${USERNAME}" = "student" ]; then
|
||||
rm -rf /home/student/.cache/mozilla
|
||||
rm -rf /home/student/.mozilla
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user