Changeset 4450b24
- Timestamp:
- May 11, 2009 9:01:02 AM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 44b8984
- Parents:
- 7c3d547
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.sh
r7c3d547 r4450b24 69 69 fi 70 70 71 # Leave the client configuration information where clients can use it 72 mkdir -p "/usr/local/federation/etc" 73 cp "$CONFIGDIR/client.conf" "/usr/local/federation/etc" 74 chmod 644 "/usr/local/federation/etc/client.conf" 75 71 76 # Get our gateway, share, and mount user from the configuration file. 72 77 # There's probably a way to get all three at once, but this works. … … 77 82 78 83 # If this is empty confusion reigns. Set a default. 79 if [ -z "$SHARE" ]; then84 if [ -z "$SHARE" ]; then 80 85 SHARE="USERS" 81 86 fi … … 98 103 fi 99 104 100 while [ -z "$GWIP" ]; do105 while [ -z "$GWIP" ]; do 101 106 GWIP=`host -N 10 $GATEWAY | $PERL -ne 's/.* has address // && print;'` 102 107 echo "GWIP is $GWIP"
Note: See TracChangeset
for help on using the changeset viewer.