#!/bin/bash

#    This file is part of EILiS.

#    EILiS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.

#    EILiS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.

#    You should have received a copy of the GNU General Public License
#    along with EILiS.  If not, see <http://www.gnu.org/licenses/>.


# Installation file of EILiS - Easy Install Linux Servers
# E-mail Project: eilis.freesoftware@gmail.com

# Developed by Rafael de C. Farias - aka ENGEMEC"
# ----------------------------------------------"
# E-mails: engemec@gmail.com"
# 	   rafaelfarias@rafaelfarias.com"
# MSN: engemec.farias@homail.com"
# Gtalk: engemec@gmail.com"
# Skype: engemec.17081981"
# Web-site: www.rafaelfarias.com"

echo ""
echo "     #      EEEEEEE   II   LL       II   SSSSSS      #"
echo "   ######## EE        II   LL            SS     ########"
echo " ########## EEEE      II   LL       II   SSSSSS ##########"
echo "   ######## EE        II   LL       II       SS ########"
echo "     #      EEEEEEE   II   LLLLLL   II   SSSSSS      #"
echo ""
echo "             EILiS - Easy Install Linux Server"
echo "                       Version 0.3"
echo ""
echo " Getting main file........"
echo ""
echo ""
sleep 2
wget http://www.rafaelfarias.com/EILiS/EILiS-03.tar --no-cache # Getting file.
echo " Moving files............."
echo ""
echo ""
sleep 2
mv EILiS-03.tar / # Moving installation file o directory /.
echo " Making the magic........."
echo ""
echo ""
sleep 2
cd / # Going to directory /.
tar -xvf EILiS-03.tar # Extracting EILiS files.
echo " Congratulations.........."
echo ""
echo ""
sleep 2
echo " Creating a symbolic link to run EILiS."
echo ""
echo ""
sleep 2
ln -s /EILiS/EILiS-03.sh /bin/eilis # Creating a symbolic link to run EILiS.
echo ""
echo ""
echo " Now, you can run EILiS with \"eilis\" command."
echo ""
echo " ###### #   #     # #   # #  #  #   #  ###  #   #"
echo "   ##   #   #    ## ##  # # #    # #  #   # #   #"
echo "   ##   #####   # # # # # ##      #   #   # #   #"
echo "   ##   #   #  #### #  ## # #     #   #   # #   #"
echo "   ##   #   # #   # #   # #  #    #    ###   ###"
echo ""
exit 0;

