wok-6.x view lxdm/stuff/PostLogout @ rev 18548

Up slitaz-configs(265)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 07 04:42:55 2015 +0200 (2015-11-07)
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