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

Up: icedtea6 (1.9.9)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Sep 14 12:13:40 2015 -0300 (2015-09-14)
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