11 lines
206 B
Bash
11 lines
206 B
Bash
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
curuser=`whoami`
|
||
|
|
|
||
|
|
if [ $curuser = "root1" ];then
|
||
|
|
echo "root Operation is not allowed!!"
|
||
|
|
exit -1
|
||
|
|
fi
|
||
|
|
|
||
|
|
../bin/busd --id=10.999.10.1 --business-id=10 --pid-file=./world_busd_svr_10_999_ag.pid stop
|