7 if [ -z $JPP_DIR ]; 
then 
    8     echo "Variable JPP_DIR undefined." 
   12 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   27     if (( $? != 0 )); 
then 
   28         echo "Remove broken cookie file $COOKIE";
 
   35     if [[ -z 
"$DBCOOKIE" ]]; 
then 
   37         echo "Enter input within $TIMEOUT_S seconds." 
   39         read -t $TIMEOUT_S    USR
 
   41             fatal 
"Timeout at user input." 
   44         read -t $TIMEOUT_S -s PWD
 
   47             fatal 
"Timeout at user input." 
   52         wget --no-check-certificate \
 
   53             "https://${SERVER}/home.htm?usr=${USR}&pwd=${PWD}&persist=y" \
 
   54             -O 
$COOKIE && sed -i -- 
"s/sid=/.in2p3.fr\\tTRUE\\t\/\\tTRUE\\t0\\tsid\\t/g" $COOKIE 
   57             fatal 
"No cookie $COOKIE" 
   61         echo "Using DBCOOKIE; unset to disable." 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null if do_usage *then usage $script fi SERVER
 
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream. 
 
static const double C
Physics constants. 
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
 
then echo Remove broken cookie file $COOKIE
 
alias put_queue eval echo n
 
esac timer_start JCookie sh set_variable COOKIE(cat~/.km3netdb_cookie) set_variable LOGIN $
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null