#!/bin/bash

master=`get_master` || exit 1
is_realserver || exit 1

source /opt/config.sh
[ "a$master" = "a$myhost" ] && exit 0
exit 1
