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

xchm: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 26 11:47:37 2015 +0200 (2015-10-26)
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