source: trunk/debathena/config/shell-config/debian/bashrc.debathena @ 22900

Revision 22900, 458 bytes checked in by tabbott, 16 years ago (diff)
Remove zephyr code from renew in debathena-standard so that renew doesn't give errors when behind a NAT.
Line 
1#!/bin/bash
2# Global bashrc file for Debathena machines
3
4export HOSTTYPE="`/bin/machtype`"
5export ATHENA_SYS=`/bin/machtype -S`
6export ATHENA_SYS_COMPAT=`/bin/machtype -C`
7if [ -z "$ATHENA_SYS" ]; then
8    export ATHENA_SYS=@sys
9fi
10
11renew () {
12    principal=`klist -5 2>/dev/null | sed -n 's/^Default principal: // p'`
13    kinit -54 "${principal:-${ATHENA_USER:-$USER}}" && aklog ;
14}
15
16add_flags=
17add () { eval "$( /bin/attach -Padd -b $add_flags "$@" )" ; }
Note: See TracBrowser for help on using the repository browser.