wok view lxdm/stuff/PostLogout @ rev 17133

Up: mc (4.8.13)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 09 23:53:10 2014 +0200 (2014-09-09)
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