wok view lxdm/stuff/PostLogout @ rev 19946

Up vmtouch (1.3.0)
author Paul Issott <paul@slitaz.org>
date Sun May 07 15:59:20 2017 +0100 (2017-05-07)
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