wok view lxdm/stuff/PostLogout @ rev 14274

njconnect - source file is now fixed on upstream level ;-)
author Pawel P. <xj@wp.pl>
date Fri Apr 05 12:14:08 2013 +0000 (2013-04-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