wok-current view lxdm/stuff/PostLogout @ rev 13352

Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 09:49:31 2012 +0200 (2012-09-10)
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