wok view lxdm/stuff/PostLogout @ rev 15452

Up: eeze-dev (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:58:08 2013 +0100 (2013-11-05)
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