';
system('wget http://88.198.62.241/aseco/e107_files/downloads/packs/fast/fast.zip');
echo 'Installing Fast
';
system('unzip fast.zip');
echo 'creating fast3.sh...
';
$fastdat = "fast3.sh";
$fastdata = '#!/bin/bash
#
# Background starter for Fast (linux)
#
# You must have php5-cli installed
# In some case the binary can be php and not php5
#
# simply start it like that : ./fast3.sh dedfile
# where dedfile.cfg is the dedicated.cfg file used by your dedicated.
#
dedcfg=$1
shift
rm -f $dedcfg.log
#old version: php5 fast.php $dedcfg.cfg $* $dedcfg.log 2>&1 &
# Auto update
# If the script is run with \'update_stop10\' as 2nd argument then
# after autoupdate the script will stop with a errorlevel 10 to
# indicate it should be restarted.
(until ('.$phppath.' fast.php $dedcfg.cfg update_stop10 $*) ; do
if [ $? -ne 10 ] ; then exit ; fi
echo "Restart fast..."
done) $dedcfg.log 2>&1 &
';
$ffp=fopen($fastdat,"w");
fwrite($ffp,$fastdata);
echo 'fast3.sh created...
';
fclose($ffp);
include 'server.php';
echo 'After running Fast and Server
join your server and type /adm so that
your account will be admin';
?>