wok view lxdm/stuff/PostLogout @ rev 18874

Up node (0.10.41)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 04 16:21:24 2016 +0100 (2016-02-04)
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