wok view lxdm/stuff/PostLogout @ rev 18898

slitaz-boot-scripts (424), slitaz-tools (966), tazpanel (567), tazusb (184)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 17 11:45:28 2016 +0100 (2016-02-17)
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