Multi - Server - Controller version .1j

*added a couple of features to the msc...

DeployAll:
----------

create a subfolder from msc path named deploy
copy any files that you wish to copy to all servers into the deploy folder.
type ./msc -da to deploy all files from 'deploy' folder to all server's (System) folder.

+ home   
|---+ msc (mkdir deploy)
    |--+ deploy 
        
Exclude[x]="True":
------------------

setting up servers that you wish to run independant of UT99 set Exclude[x]="True"
this apply's to -sa(start-all) , -ra(restart-all) and -da(Deploy all) cmds.
when running any of the above switches and providing that you have set any other server's
non UT to Exclude[x]="True" <- case sensitive , 'x' = server array #num ie;[2]
then these server's will be excluded from the above actions.

./msc -conf
-----------
this is a hidden switch which basically opens the msc.conf file in your DEFED (Default editor)

notes:
======

Basically if you have several servers then you can use the -da switch to update all of them on the fly
simply by placing any/all files into the deploy folder prior to executing the cmd.
an example of how this maybe useful would be for the likes of opbans.ini
if a user is banned from 'server one' then you can simply copy the opbans.ini from 
that server into the 'deploy' folder and then run ./msc -da this in turn will copy the 
opbans.ini to the (System) Directory of all (non-excluded) servers. Following this all you need to do 
is then to run the cmd ./msc -ra (restart all servers - Excluded) to have them all 
updated and protected from the troubled individual that was banned from 'server one'/

Other idea's for this is if you were installing ace on all server's , basically you would drop all the files 
into the deploy folder and then ./msc -da would distribute the files to all servers. 
(permissions will be set for the files prior to distribution) so you do not have to worry about those
after deploying ACE files to all servers then you will need to manually edit the ut.ini and add the line 
to the ServerActors=xxxx for each server.

Doing this although a little bit tedious can also be handled through msc simply by the following cmd's
./msc -i (server one prefix)
make changes then save....
./msc -i (server two prefix)
make changes then save...
etc...

msc.conf Xtra Settings to note:
===============================
added Exclude[x]="False" by default
RPATH="/home/path/to/msc" Please be sure to set this path
DEPLOY="/home/path/to/deploy/folder" Please be sure to set this path and folder as well


Maybe in a future version I will add an auto.ini updater feature.

also note that this version is uncompiled... therefore the source code (shell script) is easily accessable
to ayone interested in modifying it. If you do make changes to it then please post your results @ unrealadmin.org
that we may see how far this controller will go. Perhaps you would like to model your own controller from it.
either way we are interested in your works.

Best Regards

Back4More 2011.
