source: trunk/debathena/debathena/xsession/debian/debathena-quota.sh @ 25384

Revision 25384, 536 bytes checked in by jdreed, 13 years ago (diff)
In xsession: * Be clearer about what the first quota warning means (Trac: #748)
Line 
1if [ "$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 (or are within 0.5% of) your AFS quota.  This login session will likely fail.\n\nIf this login session does fail, try 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.