Changeset 4450b24 for fedkit


Ignore:
Timestamp:
May 11, 2009 9:01:02 AM (15 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:
44b8984
Parents:
7c3d547
Message:

two errors in federate!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    r7c3d547 r4450b24  
    6969fi
    7070
     71# Leave the client configuration information where clients can use it
     72mkdir -p "/usr/local/federation/etc"
     73cp "$CONFIGDIR/client.conf" "/usr/local/federation/etc"
     74chmod 644 "/usr/local/federation/etc/client.conf"
     75
    7176# Get our gateway, share, and mount user from the configuration file.
    7277# There's probably a way to get all three at once, but this works.
     
    7782
    7883# If this is empty confusion reigns.  Set a default.
    79 if [-z "$SHARE" ]; then
     84if [ -z "$SHARE" ]; then
    8085        SHARE="USERS"
    8186fi
     
    98103fi
    99104
    100 while [ -z "$GWIP"]; do
     105while [ -z "$GWIP" ]; do
    101106        GWIP=`host -N 10 $GATEWAY | $PERL -ne 's/.* has address // && print;'`
    102107        echo "GWIP is $GWIP"
Note: See TracChangeset for help on using the changeset viewer.