16 lines
424 B
Bash
Executable File
16 lines
424 B
Bash
Executable File
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
if [ ! -d ./tdr ];then
|
|
mkdir -p ./tdr
|
|
fi
|
|
|
|
cp -rp ../../../protocol/tdr/proto_cs.tdr ./tdr/
|
|
|
|
../bin/zone_conn a5game_zs_999 --id=10.999.60.1 --business-id=10 --log-level=300 --tlogconf ../cfg/zone_conn_log.xml --conf-file ../cfg/zone_conn.xml --bus-key=2109991 --pid-file=./zone_conn_10_999_ag.pid -D start
|