Revision 24895,
606 bytes
checked in by jdreed, 14 years ago
(diff) |
In shell-config:
* Make renew work for cells other than athena.mit.edu
|
Line | |
---|
1 | #!/usr/bin/tcsh |
---|
2 | # Global cshrc file for Debathena machines |
---|
3 | |
---|
4 | setenv HOSTTYPE "`/bin/machtype`" |
---|
5 | setenv ATHENA_SYS `/bin/machtype -S` |
---|
6 | if ( $ATHENA_SYS == "" ) then |
---|
7 | setenv ATHENA_SYS @sys |
---|
8 | endif |
---|
9 | setenv ATHENA_SYS_COMPAT `/bin/machtype -C` |
---|
10 | setenv DEBATHENA_AKLOG "aklog -c athena.mit.edu -p $HOME" |
---|
11 | if ( -x "/bin/fsid" ) then |
---|
12 | setenv DEBATHENA_AKLOG "fsid -a" |
---|
13 | endif |
---|
14 | |
---|
15 | alias renew 'set KINIT_ARGS=""; \ |
---|
16 | kinit -4 </dev/null >& /dev/null; \ |
---|
17 | if ($? != 3) set KINIT_ARGS="-45"; \ |
---|
18 | kinit $KINIT_ARGS "$ATHENA_USER" && $DEBATHENA_AKLOG' |
---|
19 | |
---|
20 | set add_flags |
---|
21 | alias add 'eval `/bin/attach -Padd $add_flags \!:*`' |
---|
Note: See
TracBrowser
for help on using the repository browser.