wok-next view lxdm/stuff/PostLogout @ rev 15791

Add openvpn-down-root (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 16 11:04:41 2014 +0000 (2014-01-16)
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