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

Revision 24860, 563 bytes checked in by jdreed, 14 years ago (diff)
Make message a bit easier to read
[24859]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
[24860]4        message "You have exceeded your AFS quota.  This login session will likely fail.\n\nTry using the 'xterm' 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."
[24859]5    fi
Note: See TracBrowser for help on using the repository browser.