dispvm: kill all process after populating caches

Do not longer rely on killing X server.
This commit is contained in:
Marek Marczykowski-Górecki 2014-01-24 06:45:17 +01:00
parent fdca69ae78
commit 8118037820

View File

@ -30,6 +30,7 @@ ps ax > /tmp/dispvm-prerun-proclist.log
echo "Closing windows..."
/usr/lib/qubes/close-window `xwininfo -root -children|tail -n +7 |awk '{print $1}'`
sleep 1
fuser -vkm /rw
if [ -e /rw/home/user/.qubes-dispvm-customized ]; then
cp -af /rw/home/user /home/