12 lines
239 B
Bash
Executable File
12 lines
239 B
Bash
Executable File
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
|
|
../bin/zone_svr --id=10.999.61.1 --business-id=10 --conf-file ../cfg/zone_svr.xml --pid-file=./zone_svr_10_999_ag.pid stop
|
|
|