source: trunk/debathena/config/shell-config/debian/cshrc.debathena @ 24097

Revision 24097, 467 bytes checked in by broder, 15 years ago (diff)
In shell-config: * Only pass -45 to kinit on systems that still have a krb4. (Trac: #417)
Line 
1#!/usr/bin/tcsh
2# Global cshrc file for Debathena machines
3
4setenv HOSTTYPE "`/bin/machtype`"
5setenv ATHENA_SYS `/bin/machtype -S`
6if ( $ATHENA_SYS == "" ) then
7  setenv ATHENA_SYS @sys
8endif
9setenv ATHENA_SYS_COMPAT `/bin/machtype -C`
10
11alias renew 'set KINIT_ARGS=""; \
12    kinit -4 </dev/null >& /dev/null; \
13    if ($? != 3) set KINIT_ARGS="-45"; \
14    kinit $KINIT_ARGS "$ATHENA_USER" && aklog'
15
16set add_flags
17alias add 'eval `/bin/attach -Padd $add_flags \!:*`'
Note: See TracBrowser for help on using the repository browser.