mirror of
https://github.com/gjkcz/ansible-void.git
synced 2025-06-18 18:40:34 +02:00
Add session cleanup script
This commit is contained in:
10
files/session-cleanup.sh
Normal file
10
files/session-cleanup.sh
Normal file
@ -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