Hali ch1 tökéletesen megy de viszont ha 2 3 4 et iditanám auth not foundra hivatkozik vbox
start.sh-m igy néz ki.
Idéz#!/bin/sh
echo -e "\033[31m
Hány CH-t inditasz? \n
1 - 1CH\n
2 - 2CH\n
3 - 3CH\n
4 - 4CH\n
Szerver indítása\033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 5
clear
echo -e "\033[31m \n Auth inditása ..\033[0m"
cd /usr/game/cores/auth
./game &
sleep 5
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 5
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99
./game &
sleep 5
clear
echo -e "\033[32m \n A szerver elindult! CH1\033[0m"
;;
2*)
echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 10
clear
echo -e "\033[31m \n AUTH \033[0m"
cd /usr/game/cores/auth/
./auth &
sleep 10
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 10
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./game &
sleep 10
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99/
./game &
sleep 10
clear
echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"
;;
3*)
echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 5
clear
echo -e "\033[31m \n Auth inditása ..\033[0m"
cd /usr/game/cores/auth
./game &
sleep 5
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 5
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./game &
sleep 5
clear
echo -e "\033[31m \n CH3 inditása ..\033[0m"
cd /usr/game/cores/channel3
./game &
sleep 5
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99
./game &
sleep 5
clear
echo -e "\033[32m \n A szerver elindult! CH1-2-3\033[0m"
;;
4*)
echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 5
clear
echo -e "\033[31m \n Auth inditása ..\033[0m"
cd /usr/game/cores/auth
./game &
sleep 5
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 5
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./game &
sleep 5
clear
echo -e "\033[31m \n CH3 inditása ..\033[0m"
cd /usr/game/cores/channel3
./game &
sleep 5
clear
echo -e "\033[31m \n CH4 inditása ..\033[0m"
cd /usr/game/cores/channel4
./game &
sleep 5
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99
./game &
sleep 5
clear
echo -e "\033[32m \n A szerver elindult! CH1-2-3-4\033[0m"
;;
esac
CH1-nél az auth indítása: ./game &
CH2-nél: ./auth &
A többi jó ahogy nézem, csak azért látod 3-4nél is mert lefut a 2 és ott írja ki h nincs.
Az a gáz h hiába indítom el mindig ki irja de még is hiba a szerver kapcsolatban de viszont ha 1 cht indítok az fut nem értem mi baja lehet
átírtad ch2-nél az auth-ot?
Idézecho -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 10
clear
echo -e "\033[31m \n AUTH \033[0m"
cd /usr/game/cores/auth/
./auth &
sleep 10
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 10
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./auth &
sleep 10
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99/
./game &
sleep 10
clear
echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"
igy gondoltad?
Nem, itt 2 ./auth indítás is van.
2*)
echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 10
clear
echo -e "\033[31m \n AUTH \033[0m"
cd /usr/game/cores/auth/
./auth &
sleep 10
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 10
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./game &
sleep 10
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99/
./game &
sleep 10
clear
echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"
szoval igy volna a helyes igaz?
Üzenet összefésülés: 2017-02-22, 01:20:21
Idézhttp://www.kephost.com/images/2017/02/22/hiba.md.jpg
itt volna a auth mappám
Üzenet összefésülés: 2017-02-22, 09:04:58
Valaki?