#!/bin/bash #--> Variable urlserv="/home/mous/120/ut2004/System"; urllog="/var/www/unreal/ut2004"; #--> code if [ "$1" = "on" ]; then cd $urlserv ./ucc-bin server DM-Rankin?game=XGame.xDeathMatch ini=ut2004.ini -nohomedir & > $urllog/ucc-bin.txt elif [ "$1" = "off" ]; then killall ucc-bin else echo "ERROR"; fi