wok annotate lxdm/stuff/PostLogout @ rev 13740
Move from undigest: kivy gmerlin glances phproxy zonecheck ledger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 26 15:50:31 2012 +0100 (2012-12-26) |
parents | |
children |
rev | line source |
---|---|
pankso@12410 | 1 #!/bin/sh |
pankso@12410 | 2 # |
pankso@12410 | 3 |
pankso@12410 | 4 # LXDM does not clear the last user's processes. |
pankso@12410 | 5 ps -o "user,pid" | fgrep $USER | while read user pid |
pankso@12410 | 6 do |
pankso@12410 | 7 kill $pid |
pankso@12410 | 8 done |