~sbalneav/ltsp/xexit

4 by Scott Balneaves
Added example logout script
1
#!/bin/sh
2
3
EXITSESSIONDIR=/etc/Xexit.d
4
5
SESSIONFILES=$(run-parts --list $EXITSESSIONDIR)
6
if [ -n "$SESSIONFILES" ]; then
7
  set +e
8
  for SESSIONFILE in $SESSIONFILES; do
9
    . $SESSIONFILE
10
  done
11
  set -e
12
fi