#!/bin/sh curuser=`whoami` if [ $curuser = "root1" ];then echo "root Operation is not allowed!!" exit -1 fi ../bin/zone_conn --id=10.999.60.1 --pid-file=./zone_conn_10_999_ag.pid stop