#!/bin/bash

prefix=/usr
exec_prefix=/usr

if [ ! -f "$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem.pub ]; then
    \rm -rf "$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem*
    ssh-keygen -N '' -f "$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem > /dev/null
fi

output=`echo command=\"/usr/libexec/glusterfs/gsyncd\" " "``cat "$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem.pub`
echo $output
