Changeset 291423b for fedkit


Ignore:
Timestamp:
Sep 15, 2008 5:35:11 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
a8b42b5
Parents:
c52c48d
Message:

SEER config support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    rc52c48d 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;'`
Note: See TracChangeset for help on using the changeset viewer.