~charmers/charms/oneiric/nfs/trunk

« back to all changes in this revision

Viewing changes to hooks/rsync-relation-joined

  • Committer: Mark Mims
  • Date: 2011-07-10 09:39:04 UTC
  • Revision ID: mark.mims@canonical.com-20110710093904-mrqdkdmf0zb7jno0
ugh

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
home=`dirname $0`
 
4
. $home/common.sh
 
5
 
 
6
if [ -f $data_home/master ] ; then
 
7
    i am master
 
8
else
 
9
    setup pull data
 
10
fi