wok-current view lxdm/stuff/PostLogout @ rev 15341

n2nc: use autoconf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 11:40:18 2013 +0000 (2013-09-29)
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