wok-6.x view lxdm/stuff/PostLogout @ rev 20258

Add giflossy (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 14 12:58:37 2018 +0100 (2018-03-14)
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