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

Revision 23181, 522 bytes checked in by ghudson, 16 years ago (diff)
In xsession: * Use session wrapper for all session types.
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 ! -e "$USERXSESSION" \
9     -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.