wok-current view lxdm/stuff/PostLogout @ rev 24016

Up tazinst (113)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 12:03:41 2021 +0000 (2021-02-25)
parents
children
line source
1 #!/bin/sh
2 #
4 # LXDM does not clear the last user's processes.
5 ps -o "user,pid" | fgrep $USER | while read user pid
6 do
7 kill $pid
8 done