Startup script game servers
hi guys, I am running RH9 on a dedicated server. I need to know how to run a startup script so that all the servers come online automaticly when I boot the box. also, I use the following command to ban people :
iptables -I INPUT -s xxx.xxx.xxx.xxx -j DROP
I am farly new to linux and need to know what stucture to use. how to make the script and where to put it or if you have a better suggestion.
for example, to run the ut2004 server, I run it using a user called ut2k4 so I need to execute the following : ./home/ut2k4/public/System/Start.sh dm
however, I need to run is as the ut2k4 user.
I dont know what structure to use int the script. so please help me. a sample script would be extremely nice. I love these forums and its what has made it possible for me to learn linux. thanks in advance for your help.