11 lines
		
	
	
		
			219 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			219 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| curuser=`whoami`
 | |
| 
 | |
| if [ $curuser = "root1" ];then
 | |
|  echo "root Operation is not allowed!!"
 | |
|  exit -1
 | |
| fi
 | |
| 
 | |
| ../bin/chat_svr --id=10.999.66.1 --conf-file ../cfg/chat_svr.xml --pid-file=./chat_svr_10_999_ag.pid stop
 |