source: trunk/debathena/debathena/xsession/debian/01debathena-quota @ 24862

Revision 24862, 576 bytes checked in by jdreed, 14 years ago (diff)
Refer to the right session name when advising the user
Line 
1if [ "$(dpkg-query -W -f '${Status}' debathena-xsession 2>/dev/null)" = "install ok installed" ] && [ "$DEBATHENA_HOME_TYPE" = "afs" ]; then
2    QUOTAPCT=$(fs lq $HOME | tail -1 | awk '{print $4}' | sed 's/[^0-9]*//g')
3    if [ $QUOTAPCT -ge 100 ]; then
4        message "You have exceeded your AFS quota.  This login session will likely fail.\n\nTry using the 'Athena TTY Session' login session to get a tty-mode login session, and then remove or compress some files to get below your quota.\n\nYou may also request a quota increase from User Accounts by calling x3-1325."
5    fi
6fi
Note: See TracBrowser for help on using the repository browser.