wok-next view lxdm/stuff/PostLogout @ rev 18403

gegl: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 19 09:22:09 2015 +0200 (2015-09-19)
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