#!/bin/sh
echo -e "\033[32m
1 - (1) CH1 \n
2 - (2) CH2 \n
3 - (3) CH3 \n
4 - (4) CH4 \n
5 - (5) Anuleaza Actiunea! \033[0m"
echo -e "\033[36m Server facut de A1s! \033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
cd /usr/home/game/server/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU ..\033[0m"
cd /usr/home/game/server/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2CORE ..\033[0m"
cd /usr/home/game/server/ch1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch1/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m"
cd /usr/home/game/server/game/game99/
./game99 &
sleep 2
clear
echo -e "\033[36m Server facut de A1s \033[0m"
;;
2*)
echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
cd /usr/home/game/server/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU ..\033[0m"
cd /usr/home/game/server/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2CORE ..\033[0m"
cd /usr/home/game/server/ch1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch1/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL2_2CORE...\033[0m"
cd /usr/home/game/server/ch2/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch2/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m"
cd /usr/home/game/server/game/game99/
./game99 &
sleep 2
clear
echo -e "\033[36m Server facut de A1s \033[0m"
;;
3*)
echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
cd /usr/home/game/server/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU ..\033[0m"
cd /usr/home/game/server/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2CORE ..\033[0m"
cd /usr/home/game/server/ch1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch1/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL2_2CORE...\033[0m"
cd /usr/home/game/server/ch2/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch2/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL3_2CORE...\033[0m"
cd /usr/home/game/server/ch3/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch3/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m"
cd /usr/home/game/server/game/game99/
./game99 &
sleep 2
clear
echo -e "\033[36m Server Facut de A1s \033[0m"
;;
4*)
echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
cd /usr/home/game/server/db_auth/db/
./db &
sleep 2
clear
echo -e "\033[31m \n PORNESC LOGINU ..\033[0m"
cd /usr/home/game/server/db_auth/auth/
./auth &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL1_2CORE ..\033[0m"
cd /usr/home/game/server/ch1/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch1/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL2_2CORE...\033[0m"
cd /usr/home/game/server/ch2/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch2/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL3_2CORE...\033[0m"
cd /usr/home/game/server/ch3/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch3/core_2/
./core_2 &
sleep 2
echo -e "\033[31m \n PORNESC CHANNEL4_2CORE...\033[0m"
cd /usr/home/game/server/ch4/core_1/
./core_1 &
sleep 2
cd /usr/home/game/server/ch4/core_2/
./core_2 &
sleep 2
clear
echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m"
cd /usr/home/game/server/game/game99/
./game99 &
sleep 2
clear
;;
5*)
clear
echo -e "\033[32m \n Actiune Anulata!\033[0m"
;;
esac
Cum fac sa aleaga automat 1?
sa porneasca direct ch1?
sh start.sh
Eu vreau sa nu mai apara
echo -e "\033[32m
1 - (1) CH1 \n
2 - (2) CH2 \n
3 - (3) CH3 \n
4 - (4) CH4 \n
5 - (5) Anuleaza Actiunea! \033[0m"
echo -e "\033[36m Server facut de A1s! \033[0m"
read chs
sa porneasca direct doar ch1
echo -e "\033[32m
1 - (1) CH1 \n
2 - (2) CH2 \n
3 - (3) CH3 \n
4 - (4) CH4 \n
5 - (5) Anuleaza Actiunea! \033[0m"
echo -e "\033[36m Server facut de A1s! \033[0m"
read chs
sa porneasca direct doar ch1
Pai frate, vrei sa-ti dau mura-n gura? Eu ti-am facut sa porneasca automat fara sa mai selectezi canalele, vezi ca e gresita calea, adica , unde e /usr/home/game/bla bla bla, tu vezi locatia unde ai tu.. si modifici cu locatia corecta, eu nu am de unde sa ghicesc ce locatie ai tu la fisiere, eu l-am testat pe server-ul meu si tin sa te anunt ca merge 100% .
Răspunsuri
3 Vizualizări
514
3 Vizualizări
514
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 66 vizitatori





