wok-6.x view lxdm/stuff/PostLogout @ rev 12802

linux-source: fix path to url file
author Richard Dunbar <mojo@slitaz.org>
date Fri May 18 11:48:52 2012 +0000 (2012-05-18)
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