AndreaHeLL
Utente Silver
Ultima modifica:
Codice:
3R14# cd /usr/game3R14# ./start.shChe channel vuoi avviare <.<?1 - (1) Channel2 - (2) Channels2 Sto startando Database ..cd: can't cd to /game/g1/db/./start.sh: ./db: not found Sto startando Auth ..cd: can't cd to /game/g1/auth./start.sh: ./auth: not found Sto startando CH 2 ..cd: can't cd to /game/channel2/./start.sh: ./game: not foundcd: can't cd to /game/xxx_core/xxx_2/./start.sh: ./imperium_2: not found Sto startando CH 99 ..cd: can't cd to /game/game99/./start.sh: ./game: not found
Come risolvo? Ho controllato perfettamente e in ogni cartella ci sn tutti i core.
Vi posto code dello start.
Codice:
#!/bin/shecho -e "\033[31m Che channel vuoi avviare <.<? \n 1 - (1) Channel\n 2 - (2) Channels\033[0m"read chscase $chs in 1*) echo -e "\033[31m Sto startando Database ..\033[0m" cd ./g1/db/ ./db & sleep 2 clear echo -e "\033[31m \n Sto startando Auth ..\033[0m" cd ../auth ./auth & clear echo -e "\033[31m \n Sto startando CH 1 ..\033[0m" cd ../../channel1/ ./game & echo -e "\033[31m \n Sto startando CH 99 ..\033[0m" cd /game/game99/ ./game & echo -e "\033[31m \n Sto startando i Cores..\033[0m" cd ../xxx_core/xxx_1/ ./ixxx_1 & clear clear echo -e "\033[31m \n Server startato! Server ONLINE\033[0m";;2*) echo -e "\033[31m Sto startando Database ..\033[0m" cd /game/g1/db/ ./db & sleep 2 clear echo -e "\033[31m \n Sto startando Auth ..\033[0m" cd /game/g1/auth ./auth & sleep 2 clear echo -e "\033[31m \n Sto startando CH 2 ..\033[0m" cd /game/channel2/ ./game & sleep 2 cd /game/xxx_core/xxx_2/ ./xxx_2 & sleep 2 clear echo -e "\033[31m \n Sto startando CH 99 ..\033[0m" cd /game/game99/ ./game & sleep 2 clear echo -e "\033[31m \n Server startato! Server ONLINE\033[0m";;esac
Ho controllato bene ed i core sn tti presenti

Grazie a tutti!