17.07.2011, 12:36
I know what the problem is. I can't use samp within an shell file. This is my shell file:
Does anyone has an good shell file?
Код:
#!/bin/sh if ps -a | grep samp03 > /dev/null then cd /root/samp03 nohup ./samp03svr > samp.out 2> samp.err < /dev/null & echo started else echo already started exit fi

