wok view lxdm/stuff/PostLogout @ rev 18697

Fix pilot-link(-dev) packaging
author Lucas Levrel <llevrel@yahoo.fr>
date Mon Dec 14 09:55:05 2015 +0100 (2015-12-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