forked from autodeploy_bin/sls_x12sa
22 lines
424 B
Bash
22 lines
424 B
Bash
#!/bin/bash
|
|
|
|
# startup macro for beamtimes at cSAXS
|
|
|
|
|
|
if ( [ $# -lt 1 ] ); then {
|
|
echo "Usage: $0 <AFS user name> [tomo] [ptycho] [sSAXS] [3DSAXS]"
|
|
exit
|
|
}; fi
|
|
|
|
# get the user name from the first command line parameter
|
|
afs_user_name=$1
|
|
|
|
# get tokens for specified afs account
|
|
kinit $afs_user_name
|
|
aklog
|
|
|
|
source /afs/psi.ch/project/cxs/matlab/cSAXS_shell_scripts/cSAXS_copy_scripts_source
|
|
|
|
# destroy token
|
|
kdestroy
|