wok view lxdm/stuff/PostLogout @ rev 12697

slitaz-tools: temp patch to tazinst removed
author Dominique Corbex <domcox@slitaz.org>
date Thu May 03 07:51:54 2012 +0200 (2012-05-03)
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