~ltsp-upstream/ltsp/ltsp-trunk

2461 by Alkis Georgopoulos
Undo any changes related to LP: #1093144.
1
# Also check with xprop, this way localapps are not required to be enabled.
2
# Don't reboot now to avoid ghost processes, store the result in a file
3
# to be processed by screen-session.d/XS00-halt-reboot.
2601 by Vagrant Cascadian
Fix use of SHUTDOWN_TIME with LDM to use ltsp-logout-action instead.
4
if [ ! -f /var/run/ltsp-logout-action ]; then
5
   xprop -root -notype LTSP_LOGOUT_ACTION | sed -ne 's/^LTSP_LOGOUT_ACTION = "\(.*\)"/\1/p' > /var/run/ltsp-logout-action || true
6
   xprop -root -remove LTSP_LOGOUT_ACTION
7
fi