This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/bash
|
|
echo "cleanup for ${USER}:${HOME} $(date)" >> /opt/scripts/lightdm.log
|
|
log=${HOME}/.session.log
|
|
if [[ -e $HOME/.session_logout ]]; then su -c "/bin/bash $HOME/.session_logout 1>>${log} 2>>${log} || true" $USER; fi |