wok view lxdm/stuff/PostLogout @ rev 15781

linux: remove kmod dep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 13 00:02:35 2014 +0100 (2014-01-13)
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