source: trunk/debathena/debathena/xsession/debian/98debathena-xsession @ 23027

Revision 23027, 540 bytes checked in by ghudson, 16 years ago (diff)
Add a debathena-xsession package for graphical session integration.
Line 
1# This file is sourced by Xsession(5), not executed.
2
3# Wrap the session startup if all of the following are true:
4# - This is a default session
5# - This is an AFS homedir
6# - The user has a standard Athena shell
7# - The user does not have an xsession script
8if [ afs = "$DEBATHENA_HOME_TYPE" -a default = "$1" \
9     -a ! -e "$USERXSESSION" -a ! -e "$ALTUSERXSESSION" ]; then
10  case $SHELL in
11  */bash)
12    STARTUP="/usr/lib/init/xsession.bash $STARTUP"
13    ;;
14  */tcsh)
15    STARTUP="/usr/lib/init/xsession.tcsh $STARTUP"
16    ;;
17  esac
18fi
Note: See TracBrowser for help on using the repository browser.