Show
Ignore:
Timestamp:
09/15/08 17:35:11 (4 years ago)
Author:
Ted Faber <faber@…>
Children:
a8b42b50629f13b6fcbf8d4af28d22a065cf5511
Parents:
c52c48d3f75f80dcee9581481e934a8718f8107f
git-committer:
Ted Faber <faber@isi.edu> / 2008-09-16T00:35:11Z+0000
Message:

SEER config support

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    r27b6aea r291423b  
    7474SMBUSER=`$PERL -ne '/ProjectUser:\s+(.*)/i && print "$1\n";' $SCRIPTDIR/client.conf` 
    7575SMBPROJECT=`$PERL -ne '/ProjectName:\s+(.*)/i && print "$1\n";' $SCRIPTDIR/client.conf` 
     76 
     77# XXX: modified seer daemon to read a config file.  Not in the tarfile yet.  If 
     78# we see one, and there's a /usr/seer/backend/daemon.py, replace that one with 
     79# the local one. 
     80if [ -e /usr/seer/backend/daemon.py ] && [ -e $SCRIPTDIR/daemon.py ]; then 
     81        /bin/cp $SCRIPTDIR/daemon.py /usr/seer/backend/daemon.py  
     82fi 
     83 
     84if [ -e /usr/seer/backend/experiment-setup.py ] && [ -e $SCRIPTDIR/experiment-setup.py ]; then 
     85        /bin/cp $SCRIPTDIR/experiment-setup.py /usr/seer/backend/experiment-setup.py  
     86fi 
     87 
     88# Copy the seer.conf to the local /tmp if there is one 
     89 
     90if [ -e $SCRIPTDIR/seer.conf ]; then 
     91        /bin/cp $SCRIPTDIR/seer.conf /tmp 
     92fi 
    7693 
    7794GWIP=`host -N 10 $GATEWAY | $PERL -ne 's/.* has address // && print;'`