source: trunk/debathena/debathena/xsession/debian/ @ 25009

Revision 25009, 1.2 KB checked in by jdreed, 13 years ago (diff)
In xsession: * Incoprorate new DEBATHENA_HOME_TYPE values into and remove hack
1youlose() {
2    zenity --warning --text="Your AFS home directory appears to be unavailable, and this login session cannot continue.\n\nThis could be due to an AFS outage, a network problem, or an issue with this specific workstation.  We recommend you try another workstation, or a different cluster.\n\nIf the problem appears to only be on this workstation, please notify and mention this machine's hostname ($(hostname -f)).  If the problem persists on multiple workstations, please contact the IS&T Helpdesk ( or x3-1101)."
3    exit 0
5youmightlose() {
6    if ! zenity --question --text="Your home directory type could not be determined.  This might indicate problems with the AFS servers, or you might have an error in your AFS permissions.\n\nIf you know what you're doing, it's possible that this error is benign and you can continue.  However, it's more than likely that this login session will fail and you'll need to reboot the workstation to log out.  With that in mind, would you like to continue?"; then
7        exit 0
8    fi
11    missing)
12        youlose
13        ;;
14    unknown)
15        youmightlose
16        ;;
17    afs)
18        [ -d "$HOME" ] || youlose
19        ;;
Note: See TracBrowser for help on using the repository browser.