wok view lxdm/stuff/PostLogout @ rev 19497

Up SliTaz projects: cookutils (838), slitaz-base-files (314), tazlito (439 again, seems failure isn't here).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 17 01:33:43 2016 +0200 (2016-11-17)
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