#!/bin/sh
echo -e "\033[36m
Mandi - Server MT2 \033[0m"
echo -e "\033[32m
1 - (1) CH1 + CH2 \n
2 - (2) Core1 \n
3 - (3) Game99! \033[0m"
echo -e "\033[36m \033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
cd /usr/home/game/channels/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
cd /usr/home/game/channels/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
cd /usr/home/game/channels/channel1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel1/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m CH1 pornit cu succes! \033[0m"
;;
2*)
echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
cd /usr/home/game/channels/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
cd /usr/home/game/channels/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
cd /usr/home/game/channels/channel1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel1/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL2_2 CORE... \033[0m"
cd /usr/home/game/channels/channel2/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel2/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m Server online! \033[0m"
;;
3*)
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m Game99 pornit cu succes! \033[0m"
;;
esac
echo -e "\033[36m
Mandi - Server MT2 \033[0m"
echo -e "\033[32m
1 - (1) CH1 + CH2 \n
2 - (2) Core1 \n
3 - (3) Game99! \033[0m"
echo -e "\033[36m \033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
cd /usr/home/game/channels/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
cd /usr/home/game/channels/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
cd /usr/home/game/channels/channel1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel1/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m CH1 pornit cu succes! \033[0m"
;;
2*)
echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
cd /usr/home/game/channels/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
cd /usr/home/game/channels/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
cd /usr/home/game/channels/channel1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel1/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL2_2 CORE... \033[0m"
cd /usr/home/game/channels/channel2/core_1/
./core_1 &
sleep 2
cd /usr/home/game/channels/channel2/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m Server online! \033[0m"
;;
3*)
echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"
cd /usr/home/game/channels/channel99/core1/
./core_1 &
sleep 2
clear
echo -e "\033[36m Game99 pornit cu succes! \033[0m"
;;
esac







