#/bin/bash
bin=`dirname "${BASH_SOURCE-$0}"`
bin=`cd "$bin"; pwd`
cd $bin
for slavehost in $(cat ../conf/slaves)
do
ssh $slavehost $1
done
bin=`dirname "${BASH_SOURCE-$0}"`
bin=`cd "$bin"; pwd`
cd $bin
for slavehost in $(cat ../conf/slaves)
do
ssh $slavehost $1
done